Index: test/cctest/interpreter/bytecode_expectations/BasicLoops.golden |
diff --git a/test/cctest/interpreter/bytecode_expectations/BasicLoops.golden b/test/cctest/interpreter/bytecode_expectations/BasicLoops.golden |
index 8ed2484e37545ccbfac778f7cb27e5185ea58cf6..05ee65710512a071b6fafb60fd5a76454bf66ffd 100644 |
--- a/test/cctest/interpreter/bytecode_expectations/BasicLoops.golden |
+++ b/test/cctest/interpreter/bytecode_expectations/BasicLoops.golden |
@@ -68,32 +68,32 @@ bytecodes: [ |
B(StackCheck), |
B(LdaZero), |
B(Star), R(0), |
- B(LdaSmi8), U8(1), |
+ B(LdaSmi), U8(1), |
B(Star), R(1), |
B(Ldar), R(0), |
B(Star), R(2), |
- B(LdaSmi8), U8(10), |
+ B(LdaSmi), U8(10), |
B(TestLessThan), R(2), |
B(JumpIfFalse), U8(47), |
B(StackCheck), |
B(Ldar), R(1), |
B(Star), R(2), |
- B(LdaSmi8), U8(12), |
+ B(LdaSmi), U8(12), |
B(Mul), R(2), |
B(Star), R(1), |
B(Ldar), R(0), |
B(Star), R(2), |
- B(LdaSmi8), U8(1), |
+ B(LdaSmi), U8(1), |
B(Add), R(2), |
B(Star), R(0), |
B(Star), R(2), |
- B(LdaSmi8), U8(3), |
+ B(LdaSmi), U8(3), |
B(TestEqual), R(2), |
B(JumpIfFalse), U8(4), |
B(Jump), U8(-39), |
B(Ldar), R(0), |
B(Star), R(2), |
- B(LdaSmi8), U8(4), |
+ B(LdaSmi), U8(4), |
B(TestEqual), R(2), |
B(JumpIfFalse), U8(4), |
B(Jump), U8(4), |
@@ -135,31 +135,31 @@ bytecodes: [ |
B(Jump), U8(-10), |
B(Ldar), R(0), |
B(Star), R(1), |
- B(LdaSmi8), U8(3), |
+ B(LdaSmi), U8(3), |
B(TestEqual), R(1), |
B(JumpIfFalse), U8(4), |
B(Jump), U8(50), |
B(Ldar), R(0), |
B(Star), R(1), |
- B(LdaSmi8), U8(4), |
+ B(LdaSmi), U8(4), |
B(TestEqual), R(1), |
B(JumpIfFalse), U8(4), |
B(Jump), U8(38), |
B(Ldar), R(0), |
B(Star), R(1), |
- B(LdaSmi8), U8(10), |
+ B(LdaSmi), U8(10), |
B(TestEqual), R(1), |
B(JumpIfFalse), U8(4), |
B(Jump), U8(-46), |
B(Ldar), R(0), |
B(Star), R(1), |
- B(LdaSmi8), U8(5), |
+ B(LdaSmi), U8(5), |
B(TestEqual), R(1), |
B(JumpIfFalse), U8(4), |
B(Jump), U8(14), |
B(Ldar), R(0), |
B(Star), R(1), |
- B(LdaSmi8), U8(1), |
+ B(LdaSmi), U8(1), |
B(Add), R(1), |
B(Star), R(0), |
B(Jump), U8(-70), |
@@ -194,25 +194,25 @@ bytecodes: [ |
B(StackCheck), |
B(Ldar), R(0), |
B(Star), R(1), |
- B(LdaSmi8), U8(3), |
+ B(LdaSmi), U8(3), |
B(TestLessThan), R(1), |
B(JumpIfFalse), U8(27), |
B(StackCheck), |
B(Ldar), R(0), |
B(Star), R(1), |
- B(LdaSmi8), U8(2), |
+ B(LdaSmi), U8(2), |
B(TestEqual), R(1), |
B(JumpIfFalse), U8(4), |
B(Jump), U8(14), |
B(Ldar), R(0), |
B(Star), R(1), |
- B(LdaSmi8), U8(1), |
+ B(LdaSmi), U8(1), |
B(Add), R(1), |
B(Star), R(0), |
B(Jump), U8(-33), |
B(Ldar), R(0), |
B(Star), R(1), |
- B(LdaSmi8), U8(1), |
+ B(LdaSmi), U8(1), |
B(Add), R(1), |
B(Star), R(0), |
B(Jump), U8(4), |
@@ -240,21 +240,21 @@ parameter count: 1 |
bytecode array length: 39 |
bytecodes: [ |
B(StackCheck), |
- B(LdaSmi8), U8(10), |
+ B(LdaSmi), U8(10), |
B(Star), R(0), |
- B(LdaSmi8), U8(1), |
+ B(LdaSmi), U8(1), |
B(Star), R(1), |
B(Ldar), R(0), |
B(JumpIfToBooleanFalse), U8(25), |
B(StackCheck), |
B(Ldar), R(1), |
B(Star), R(2), |
- B(LdaSmi8), U8(12), |
+ B(LdaSmi), U8(12), |
B(Mul), R(2), |
B(Star), R(1), |
B(Ldar), R(0), |
B(Star), R(2), |
- B(LdaSmi8), U8(1), |
+ B(LdaSmi), U8(1), |
B(Sub), R(2), |
B(Star), R(0), |
B(Jump), U8(-25), |
@@ -284,34 +284,34 @@ bytecodes: [ |
B(StackCheck), |
B(LdaZero), |
B(Star), R(0), |
- B(LdaSmi8), U8(1), |
+ B(LdaSmi), U8(1), |
B(Star), R(1), |
B(StackCheck), |
B(Ldar), R(1), |
B(Star), R(2), |
- B(LdaSmi8), U8(10), |
+ B(LdaSmi), U8(10), |
B(Mul), R(2), |
B(Star), R(1), |
B(Ldar), R(0), |
B(Star), R(2), |
- B(LdaSmi8), U8(5), |
+ B(LdaSmi), U8(5), |
B(TestEqual), R(2), |
B(JumpIfFalse), U8(4), |
B(Jump), U8(34), |
B(Ldar), R(0), |
B(Star), R(2), |
- B(LdaSmi8), U8(6), |
+ B(LdaSmi), U8(6), |
B(TestEqual), R(2), |
B(JumpIfFalse), U8(4), |
B(Jump), U8(12), |
B(Ldar), R(0), |
B(Star), R(2), |
- B(LdaSmi8), U8(1), |
+ B(LdaSmi), U8(1), |
B(Add), R(2), |
B(Star), R(0), |
B(Ldar), R(0), |
B(Star), R(2), |
- B(LdaSmi8), U8(10), |
+ B(LdaSmi), U8(10), |
B(TestLessThan), R(2), |
B(JumpIfTrue), U8(-53), |
B(Ldar), R(1), |
@@ -337,19 +337,19 @@ parameter count: 1 |
bytecode array length: 37 |
bytecodes: [ |
B(StackCheck), |
- B(LdaSmi8), U8(10), |
+ B(LdaSmi), U8(10), |
B(Star), R(0), |
- B(LdaSmi8), U8(1), |
+ B(LdaSmi), U8(1), |
B(Star), R(1), |
B(StackCheck), |
B(Ldar), R(1), |
B(Star), R(2), |
- B(LdaSmi8), U8(12), |
+ B(LdaSmi), U8(12), |
B(Mul), R(2), |
B(Star), R(1), |
B(Ldar), R(0), |
B(Star), R(2), |
- B(LdaSmi8), U8(1), |
+ B(LdaSmi), U8(1), |
B(Sub), R(2), |
B(Star), R(0), |
B(Ldar), R(0), |
@@ -380,27 +380,27 @@ bytecodes: [ |
B(StackCheck), |
B(LdaZero), |
B(Star), R(0), |
- B(LdaSmi8), U8(1), |
+ B(LdaSmi), U8(1), |
B(Star), R(1), |
B(StackCheck), |
B(Ldar), R(1), |
B(Star), R(2), |
- B(LdaSmi8), U8(10), |
+ B(LdaSmi), U8(10), |
B(Mul), R(2), |
B(Star), R(1), |
B(Ldar), R(0), |
B(Star), R(2), |
- B(LdaSmi8), U8(5), |
+ B(LdaSmi), U8(5), |
B(TestEqual), R(2), |
B(JumpIfFalse), U8(4), |
B(Jump), U8(22), |
B(Ldar), R(0), |
B(Star), R(2), |
- B(LdaSmi8), U8(1), |
+ B(LdaSmi), U8(1), |
B(Add), R(2), |
B(Star), R(0), |
B(Star), R(2), |
- B(LdaSmi8), U8(6), |
+ B(LdaSmi), U8(6), |
B(TestEqual), R(2), |
B(JumpIfFalse), U8(4), |
B(Jump), U8(2), |
@@ -430,27 +430,27 @@ bytecodes: [ |
B(StackCheck), |
B(LdaZero), |
B(Star), R(0), |
- B(LdaSmi8), U8(1), |
+ B(LdaSmi), U8(1), |
B(Star), R(1), |
B(StackCheck), |
B(Ldar), R(1), |
B(Star), R(2), |
- B(LdaSmi8), U8(10), |
+ B(LdaSmi), U8(10), |
B(Mul), R(2), |
B(Star), R(1), |
B(Ldar), R(0), |
B(Star), R(2), |
- B(LdaSmi8), U8(5), |
+ B(LdaSmi), U8(5), |
B(TestEqual), R(2), |
B(JumpIfFalse), U8(4), |
B(Jump), U8(24), |
B(Ldar), R(0), |
B(Star), R(2), |
- B(LdaSmi8), U8(1), |
+ B(LdaSmi), U8(1), |
B(Add), R(2), |
B(Star), R(0), |
B(Star), R(2), |
- B(LdaSmi8), U8(6), |
+ B(LdaSmi), U8(6), |
B(TestEqual), R(2), |
B(JumpIfFalse), U8(4), |
B(Jump), U8(-41), |
@@ -482,19 +482,19 @@ bytecodes: [ |
B(StackCheck), |
B(Ldar), R(0), |
B(Star), R(1), |
- B(LdaSmi8), U8(1), |
+ B(LdaSmi), U8(1), |
B(TestEqual), R(1), |
B(JumpIfFalse), U8(4), |
B(Jump), U8(26), |
B(Ldar), R(0), |
B(Star), R(1), |
- B(LdaSmi8), U8(2), |
+ B(LdaSmi), U8(2), |
B(TestEqual), R(1), |
B(JumpIfFalse), U8(4), |
B(Jump), U8(-23), |
B(Ldar), R(0), |
B(Star), R(1), |
- B(LdaSmi8), U8(1), |
+ B(LdaSmi), U8(1), |
B(Add), R(1), |
B(Star), R(0), |
B(Jump), U8(-35), |
@@ -524,19 +524,19 @@ bytecodes: [ |
B(StackCheck), |
B(Ldar), R(0), |
B(Star), R(1), |
- B(LdaSmi8), U8(1), |
+ B(LdaSmi), U8(1), |
B(TestEqual), R(1), |
B(JumpIfFalse), U8(4), |
B(Jump), U8(26), |
B(Ldar), R(0), |
B(Star), R(1), |
- B(LdaSmi8), U8(2), |
+ B(LdaSmi), U8(2), |
B(TestEqual), R(1), |
B(JumpIfFalse), U8(4), |
B(Jump), U8(-23), |
B(Ldar), R(0), |
B(Star), R(1), |
- B(LdaSmi8), U8(1), |
+ B(LdaSmi), U8(1), |
B(Add), R(1), |
B(Star), R(0), |
B(Jump), U8(-35), |
@@ -566,19 +566,19 @@ bytecodes: [ |
B(StackCheck), |
B(Ldar), R(0), |
B(Star), R(1), |
- B(LdaSmi8), U8(1), |
+ B(LdaSmi), U8(1), |
B(TestEqual), R(1), |
B(JumpIfFalse), U8(4), |
B(Jump), U8(26), |
B(Ldar), R(0), |
B(Star), R(1), |
- B(LdaSmi8), U8(2), |
+ B(LdaSmi), U8(2), |
B(TestEqual), R(1), |
B(JumpIfFalse), U8(4), |
B(Jump), U8(2), |
B(Ldar), R(0), |
B(Star), R(1), |
- B(LdaSmi8), U8(1), |
+ B(LdaSmi), U8(1), |
B(Add), R(1), |
B(Star), R(0), |
B(Jump), U8(-35), |
@@ -607,19 +607,19 @@ bytecodes: [ |
B(StackCheck), |
B(Ldar), R(0), |
B(Star), R(1), |
- B(LdaSmi8), U8(1), |
+ B(LdaSmi), U8(1), |
B(TestEqual), R(1), |
B(JumpIfFalse), U8(4), |
B(Jump), U8(26), |
B(Ldar), R(0), |
B(Star), R(1), |
- B(LdaSmi8), U8(2), |
+ B(LdaSmi), U8(2), |
B(TestEqual), R(1), |
B(JumpIfFalse), U8(4), |
B(Jump), U8(2), |
B(Ldar), R(0), |
B(Star), R(1), |
- B(LdaSmi8), U8(1), |
+ B(LdaSmi), U8(1), |
B(Add), R(1), |
B(Star), R(0), |
B(Jump), U8(-35), |
@@ -650,19 +650,19 @@ bytecodes: [ |
B(Star), R(1), |
B(Ldar), R(1), |
B(Star), R(2), |
- B(LdaSmi8), U8(100), |
+ B(LdaSmi), U8(100), |
B(TestLessThan), R(2), |
B(JumpIfFalse), U8(27), |
B(StackCheck), |
B(Ldar), R(0), |
B(Star), R(2), |
- B(LdaSmi8), U8(1), |
+ B(LdaSmi), U8(1), |
B(Add), R(2), |
B(Star), R(0), |
B(Jump), U8(2), |
B(Ldar), R(1), |
B(Star), R(2), |
- B(LdaSmi8), U8(1), |
+ B(LdaSmi), U8(1), |
B(Add), R(2), |
B(Star), R(1), |
B(Jump), U8(-33), |
@@ -687,16 +687,16 @@ parameter count: 1 |
bytecode array length: 35 |
bytecodes: [ |
B(StackCheck), |
- B(LdaSmi8), U8(1), |
+ B(LdaSmi), U8(1), |
B(Star), R(0), |
- B(LdaSmi8), U8(10), |
+ B(LdaSmi), U8(10), |
B(Star), R(1), |
B(Ldar), R(1), |
B(JumpIfToBooleanFalse), U8(21), |
B(StackCheck), |
B(Ldar), R(0), |
B(Star), R(2), |
- B(LdaSmi8), U8(12), |
+ B(LdaSmi), U8(12), |
B(Mul), R(2), |
B(Star), R(0), |
B(Ldar), R(1), |
@@ -758,11 +758,11 @@ bytecodes: [ |
B(StackCheck), |
B(Ldar), R(0), |
B(Star), R(2), |
- B(LdaSmi8), U8(1), |
+ B(LdaSmi), U8(1), |
B(Add), R(2), |
B(Star), R(0), |
B(Star), R(2), |
- B(LdaSmi8), U8(20), |
+ B(LdaSmi), U8(20), |
B(TestEqual), R(2), |
B(JumpIfFalse), U8(4), |
B(Jump), U8(10), |
@@ -811,7 +811,7 @@ bytecodes: [ |
B(StaContextSlot), R(context), U8(4), |
B(CreateClosure), U8(1), U8(0), |
B(Star), R(0), |
- B(LdaSmi8), U8(1), |
+ B(LdaSmi), U8(1), |
B(StaContextSlot), R(context), U8(4), |
B(Ldar), R(0), |
B(JumpIfNotHole), U8(11), |