Skip to content

Commit 3b193ef

Browse files
committed
unload #as foot-gun
1 parent c217ef7 commit 3b193ef

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

kmir/src/kmir/kdist/mir-semantics/kmir.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -504,7 +504,7 @@ The local data has to be set up for the call, which requires information about t
504504
505505
// reserve space for local variables and copy arguments from old locals into their place
506506
rule <k> #setUpCalleeData(
507-
monoItemFn(_, _, body(FIRST:BasicBlock _ #as BLOCKS, NEWLOCALS, _, _, _, _) _:Bodies),
507+
monoItemFn(_, _, body((FIRST:BasicBlock _) #as BLOCKS, NEWLOCALS, _, _, _, _) _:Bodies),
508508
ARGS
509509
)
510510
=>

kmir/src/tests/integration/data/exec-smir/main-a-b-c/main-a-b-c.15.state

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
</currentFunc>
1111
<currentFrame>
1212
<currentBody>
13-
.List
13+
ListItem ( basicBlock (... statements: .Statements , terminator: terminator (... kind: terminatorKindReturn , span: span ( 65 ) ) ) )
1414
</currentBody>
1515
<caller>
1616
ty ( 26 )

0 commit comments

Comments
 (0)