Updated tests for control flow: call instruction stores call element

instead of callee expression
This commit is contained in:
Svetlana Isakova
2014-07-02 18:27:19 +04:00
parent 72e9822d99
commit aa26db0538
110 changed files with 1084 additions and 1084 deletions
@@ -11,7 +11,7 @@ L0:
3 r(1) -> <v0>
r(2) -> <v1>
mark(1..2)
call(.., rangeTo|<v0>, <v1>) -> <v2>
call(1..2, rangeTo|<v0>, <v1>) -> <v2>
v(i)
L3:
jmp?(L2) NEXT:[read (Unit), magic(1..2|<v2>) -> <v3>]
@@ -23,7 +23,7 @@ L5 [body entry point]:
4 mark({ doSmth(i) })
r(i) -> <v4>
mark(doSmth(i))
call(doSmth, doSmth|<v4>) -> <v5>
call(doSmth(i), doSmth|<v4>) -> <v5>
3 jmp?(L4 [loop entry point]) NEXT:[magic(1..2|<v2>) -> <v3>, read (Unit)]
L2:
read (Unit) PREV:[jmp?(L2), jmp?(L4 [loop entry point])]