Skip to content

Commit 705bab9

Browse files
authored
Rollup merge of #107067 - tmiasko:custom-mir-storage-statements, r=oli-obk
Custom MIR: Support storage statements r? `@oli-obk` `@JakobDegen`
2 parents 6358417 + 0e46852 commit 705bab9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

core/src/intrinsics/mir.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -259,6 +259,8 @@ define!("mir_unreachable", fn Unreachable() -> BasicBlock);
259259
define!("mir_drop", fn Drop<T>(place: T, goto: BasicBlock));
260260
define!("mir_drop_and_replace", fn DropAndReplace<T>(place: T, value: T, goto: BasicBlock));
261261
define!("mir_call", fn Call<T>(place: T, goto: BasicBlock, call: T));
262+
define!("mir_storage_live", fn StorageLive<T>(local: T));
263+
define!("mir_storage_dead", fn StorageDead<T>(local: T));
262264
define!("mir_retag", fn Retag<T>(place: T));
263265
define!("mir_move", fn Move<T>(place: T) -> T);
264266
define!("mir_static", fn Static<T>(s: T) -> &'static T);

0 commit comments

Comments
 (0)