blob: 6474bdd30712a7a27380762e84bd3a63b76d89db [file] [edit]
--- test1
B0 = EntryBlock()
v9 = Constant(1)
Constant(3)
Constant(5)
Constant(true)
v34 = Constant(2)
v1 = Parameter(x)
BinaryIntOp +(v1, v9)
Return(v34)
--- test2
B0 = EntryBlock()
Constant(0)
Constant(1)
v19 = Constant(null)
Constant(true)
Return(v19)
--- test3
B0 = EntryBlock()
Constant(true)
Constant(10)
Constant(20)
v30 = Constant(1)
Constant(30)
Constant("I can throw")
v53 = Constant(null)
Constant(false)
Parameter(x)
v2 = Parameter(y)
BinaryIntOp +(v2, v30)
Return(v53)
--- test4
B0 = EntryBlock()
Constant(true)
Constant(10)
Constant(1)
Constant(2)
Constant(20)
v49 = Constant(null)
Constant(-1)
Constant(false)
Parameter(x)
v2 = Parameter(z)
DirectCall print(v2)
Return(v49)
--- nullCheck
B0 = EntryBlock()
Constant(1)
Constant(2)
v10 = Constant(10)
v16 = Constant(null)
Constant(false)
Parameter(x)
DirectCall print(v10)
Return(v16)
--- stringInterpolation
B0 = EntryBlock()
Constant(true)
Constant("abc")
Constant(10)
Constant("s = ")
Constant(", x = ")
Constant("result: ")
v24 = Constant(null)
Constant("result: s = ")
v30 = Constant("result: s = abc, x = 10")
Parameter(s)
Parameter(x)
DirectCall print(v30)
Return(v24)
--- boolNot
B0 = EntryBlock()
Constant(true)
v13 = Constant(null)
v16 = Constant(false)
Parameter(x)
DirectCall print(v16)
Return(v13)
--- main
B0 = EntryBlock()
v1 = Constant(null)
Return(v1)