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 532eb8a3a34053e6ba8682ee4a66f5e85bc2d888..dba8e96291631566fc5b697da34e9b717faec478 100644 |
--- a/test/cctest/interpreter/bytecode_expectations/BasicLoops.golden |
+++ b/test/cctest/interpreter/bytecode_expectations/BasicLoops.golden |
@@ -65,7 +65,7 @@ snippet: " |
" |
frame size: 2 |
parameter count: 1 |
-bytecode array length: 47 |
+bytecode array length: 48 |
bytecodes: [ |
/* 30 E> */ B(StackCheck), |
/* 42 S> */ B(LdaZero), |
@@ -74,10 +74,10 @@ bytecodes: [ |
B(Star), R(1), |
/* 65 S> */ B(LdaSmi), U8(10), |
/* 65 E> */ B(TestLessThan), R(0), |
- B(JumpIfFalse), U8(32), |
+ B(JumpIfFalse), U8(33), |
/* 56 E> */ B(StackCheck), |
/* 75 S> */ B(LdaSmi), U8(12), |
- B(Mul), R(1), |
+ B(Mul), R(1), U8(1), |
B(Star), R(1), |
/* 89 S> */ B(AddSmi), U8(1), R(0), |
B(Star), R(0), |
@@ -89,7 +89,7 @@ bytecodes: [ |
/* 132 E> */ B(TestEqual), R(0), |
B(JumpIfFalse), U8(4), |
/* 138 S> */ B(Jump), U8(4), |
- B(Jump), U8(-34), |
+ B(Jump), U8(-35), |
/* 147 S> */ B(Ldar), R(1), |
/* 157 S> */ B(Return), |
] |
@@ -206,7 +206,7 @@ snippet: " |
" |
frame size: 2 |
parameter count: 1 |
-bytecode array length: 30 |
+bytecode array length: 31 |
bytecodes: [ |
/* 30 E> */ B(StackCheck), |
/* 42 S> */ B(LdaSmi), U8(10), |
@@ -214,14 +214,14 @@ bytecodes: [ |
/* 54 S> */ B(LdaSmi), U8(1), |
B(Star), R(1), |
/* 64 S> */ B(Ldar), R(0), |
- B(JumpIfToBooleanFalse), U8(16), |
+ B(JumpIfToBooleanFalse), U8(17), |
/* 57 E> */ B(StackCheck), |
/* 71 S> */ B(LdaSmi), U8(12), |
- B(Mul), R(1), |
+ B(Mul), R(1), U8(1), |
B(Star), R(1), |
/* 85 S> */ B(SubSmi), U8(1), R(0), |
B(Star), R(0), |
- B(Jump), U8(-16), |
+ B(Jump), U8(-17), |
/* 98 S> */ B(Ldar), R(1), |
/* 108 S> */ B(Return), |
] |
@@ -243,7 +243,7 @@ snippet: " |
" |
frame size: 2 |
parameter count: 1 |
-bytecode array length: 45 |
+bytecode array length: 46 |
bytecodes: [ |
/* 30 E> */ B(StackCheck), |
/* 42 S> */ B(LdaZero), |
@@ -252,7 +252,7 @@ bytecodes: [ |
B(Star), R(1), |
/* 56 E> */ B(StackCheck), |
/* 63 S> */ B(LdaSmi), U8(10), |
- B(Mul), R(1), |
+ B(Mul), R(1), U8(1), |
B(Star), R(1), |
/* 77 S> */ B(LdaSmi), U8(5), |
/* 83 E> */ B(TestEqual), R(0), |
@@ -266,7 +266,7 @@ bytecodes: [ |
B(Star), R(0), |
/* 144 S> */ B(LdaSmi), U8(10), |
/* 144 E> */ B(TestLessThan), R(0), |
- B(JumpIfTrue), U8(-32), |
+ B(JumpIfTrue), U8(-33), |
/* 151 S> */ B(Ldar), R(1), |
/* 161 S> */ B(Return), |
] |
@@ -287,7 +287,7 @@ snippet: " |
" |
frame size: 2 |
parameter count: 1 |
-bytecode array length: 28 |
+bytecode array length: 29 |
bytecodes: [ |
/* 30 E> */ B(StackCheck), |
/* 42 S> */ B(LdaSmi), U8(10), |
@@ -296,12 +296,12 @@ bytecodes: [ |
B(Star), R(1), |
/* 57 E> */ B(StackCheck), |
/* 64 S> */ B(LdaSmi), U8(12), |
- B(Mul), R(1), |
+ B(Mul), R(1), U8(1), |
B(Star), R(1), |
/* 78 S> */ B(SubSmi), U8(1), R(0), |
B(Star), R(0), |
/* 98 S> */ B(Ldar), R(0), |
- B(JumpIfToBooleanTrue), U8(-14), |
+ B(JumpIfToBooleanTrue), U8(-15), |
/* 102 S> */ B(Ldar), R(1), |
/* 112 S> */ B(Return), |
] |
@@ -323,7 +323,7 @@ snippet: " |
" |
frame size: 2 |
parameter count: 1 |
-bytecode array length: 39 |
+bytecode array length: 40 |
bytecodes: [ |
/* 30 E> */ B(StackCheck), |
/* 42 S> */ B(LdaZero), |
@@ -332,7 +332,7 @@ bytecodes: [ |
B(Star), R(1), |
/* 56 E> */ B(StackCheck), |
/* 63 S> */ B(LdaSmi), U8(10), |
- B(Mul), R(1), |
+ B(Mul), R(1), U8(1), |
B(Star), R(1), |
/* 77 S> */ B(LdaSmi), U8(5), |
/* 83 E> */ B(TestEqual), R(0), |
@@ -365,7 +365,7 @@ snippet: " |
" |
frame size: 2 |
parameter count: 1 |
-bytecode array length: 41 |
+bytecode array length: 42 |
bytecodes: [ |
/* 30 E> */ B(StackCheck), |
/* 42 S> */ B(LdaZero), |
@@ -374,7 +374,7 @@ bytecodes: [ |
B(Star), R(1), |
/* 56 E> */ B(StackCheck), |
/* 63 S> */ B(LdaSmi), U8(10), |
- B(Mul), R(1), |
+ B(Mul), R(1), U8(1), |
B(Star), R(1), |
/* 77 S> */ B(LdaSmi), U8(5), |
/* 83 E> */ B(TestEqual), R(0), |
@@ -386,7 +386,7 @@ bytecodes: [ |
/* 117 E> */ B(TestEqual), R(0), |
B(JumpIfFalse), U8(4), |
/* 123 S> */ B(Jump), U8(2), |
- B(Jump), U8(-28), |
+ B(Jump), U8(-29), |
/* 149 S> */ B(Ldar), R(1), |
/* 159 S> */ B(Return), |
] |
@@ -580,7 +580,7 @@ snippet: " |
" |
frame size: 2 |
parameter count: 1 |
-bytecode array length: 30 |
+bytecode array length: 32 |
bytecodes: [ |
/* 30 E> */ B(StackCheck), |
/* 42 S> */ B(LdaSmi), U8(1), |
@@ -588,15 +588,15 @@ bytecodes: [ |
/* 58 S> */ B(LdaSmi), U8(10), |
B(Star), R(1), |
/* 62 S> */ B(Ldar), R(1), |
- B(JumpIfToBooleanFalse), U8(16), |
+ B(JumpIfToBooleanFalse), U8(18), |
/* 45 E> */ B(StackCheck), |
/* 74 S> */ B(LdaSmi), U8(12), |
- B(Mul), R(0), |
+ B(Mul), R(0), U8(2), |
B(Star), R(0), |
/* 67 S> */ B(Ldar), R(1), |
- B(Dec), |
+ B(Dec), U8(1), |
B(Star), R(1), |
- B(Jump), U8(-16), |
+ B(Jump), U8(-18), |
/* 88 S> */ B(Ldar), R(0), |
/* 98 S> */ B(Return), |
] |
@@ -641,7 +641,7 @@ snippet: " |
" |
frame size: 2 |
parameter count: 1 |
-bytecode array length: 31 |
+bytecode array length: 32 |
bytecodes: [ |
/* 30 E> */ B(StackCheck), |
/* 42 S> */ B(LdaZero), |
@@ -654,11 +654,11 @@ bytecodes: [ |
/* 89 S> */ B(LdaSmi), U8(20), |
/* 95 E> */ B(TestEqual), R(0), |
B(JumpIfFalse), U8(4), |
- /* 102 S> */ B(Jump), U8(9), |
+ /* 102 S> */ B(Jump), U8(10), |
/* 69 S> */ B(Ldar), R(1), |
- B(Inc), |
+ B(Inc), U8(1), |
B(Star), R(1), |
- B(Jump), U8(-19), |
+ B(Jump), U8(-20), |
/* 112 S> */ B(Ldar), R(0), |
/* 122 S> */ B(Return), |
] |
@@ -681,13 +681,13 @@ snippet: " |
" |
frame size: 6 |
parameter count: 1 |
-bytecode array length: 104 |
+bytecode array length: 105 |
bytecodes: [ |
/* 30 E> */ B(StackCheck), |
/* 42 S> */ B(LdaZero), |
B(Star), R(1), |
/* 52 S> */ B(Ldar), R(1), |
- B(JumpIfToBooleanFalse), U8(96), |
+ B(JumpIfToBooleanFalse), U8(97), |
/* 45 E> */ B(StackCheck), |
B(LdaConstant), U8(0), |
B(Star), R(4), |
@@ -709,13 +709,13 @@ bytecodes: [ |
B(JumpIfToBooleanFalse), U8(8), |
/* 113 S> */ B(PopContext), R(3), |
B(PopContext), R(3), |
- B(Jump), U8(40), |
+ B(Jump), U8(41), |
/* 126 S> */ B(LdaContextSlot), R(context), U8(4), |
B(JumpIfNotHole), U8(11), |
B(LdaConstant), U8(2), |
B(Star), R(4), |
B(CallRuntime), U16(Runtime::kThrowReferenceError), R(4), U8(1), |
- B(Inc), |
+ B(Inc), U8(1), |
B(Star), R(4), |
/* 127 E> */ B(LdaContextSlot), R(context), U8(4), |
B(JumpIfNotHole), U8(11), |
@@ -725,7 +725,7 @@ bytecodes: [ |
B(Ldar), R(4), |
B(StaContextSlot), R(context), U8(4), |
B(PopContext), R(3), |
- B(Jump), U8(-96), |
+ B(Jump), U8(-97), |
B(LdaUndefined), |
/* 137 S> */ B(Return), |
] |