Index: test/cctest/interpreter/bytecode_expectations/Generators.golden |
diff --git a/test/cctest/interpreter/bytecode_expectations/Generators.golden b/test/cctest/interpreter/bytecode_expectations/Generators.golden |
index 0fd3ca11dee728ab4d344f2b5949f9895b04d647..4c1ea9a3acf4f75b83dc59bada7e81516c45c597 100644 |
--- a/test/cctest/interpreter/bytecode_expectations/Generators.golden |
+++ b/test/cctest/interpreter/bytecode_expectations/Generators.golden |
@@ -15,7 +15,7 @@ snippet: " |
" |
frame size: 11 |
parameter count: 1 |
-bytecode array length: 197 |
+bytecode array length: 192 |
bytecodes: [ |
B(Ldar), R(new_target), |
B(JumpIfUndefined), U8(12), |
@@ -23,7 +23,7 @@ bytecodes: [ |
B(Star), R(1), |
B(LdaZero), |
B(TestEqualStrict), R(1), |
- B(JumpIfTrue), U8(49), |
+ B(JumpIfTrue), U8(44), |
B(Illegal), |
B(CallRuntime), U16(Runtime::kNewFunctionContext), R(closure), U8(1), |
B(PushContext), R(0), |
@@ -33,9 +33,7 @@ bytecodes: [ |
B(Mov), R(context), R(4), |
B(Ldar), R(closure), |
B(Star), R(5), |
- B(LdaContextSlot), R(context), U8(4), |
- B(Star), R(6), |
- B(CallRuntime), U16(Runtime::kCreateJSGeneratorObject), R(5), U8(2), |
+ B(CallRuntime), U16(Runtime::kCreateJSGeneratorObject), R(5), U8(1), |
B(StaContextSlot), R(context), U8(5), |
B(Star), R(5), |
B(LdaContextSlot), R(context), U8(5), |
@@ -111,7 +109,7 @@ bytecodes: [ |
constant pool: [ |
] |
handlers: [ |
- [30, 133, 139], |
+ [30, 128, 134], |
] |
--- |
@@ -120,7 +118,7 @@ snippet: " |
" |
frame size: 11 |
parameter count: 1 |
-bytecode array length: 293 |
+bytecode array length: 288 |
bytecodes: [ |
B(Ldar), R(new_target), |
B(JumpIfUndefined), U8(18), |
@@ -128,10 +126,10 @@ bytecodes: [ |
B(Star), R(1), |
B(LdaZero), |
B(TestEqualStrict), R(1), |
- B(JumpIfTrue), U8(55), |
+ B(JumpIfTrue), U8(50), |
B(LdaSmi), U8(1), |
B(TestEqualStrict), R(1), |
- B(JumpIfTrueConstant), U8(0), |
+ B(JumpIfTrue), U8(124), |
B(Illegal), |
B(CallRuntime), U16(Runtime::kNewFunctionContext), R(closure), U8(1), |
B(PushContext), R(0), |
@@ -141,9 +139,7 @@ bytecodes: [ |
B(Mov), R(context), R(4), |
B(Ldar), R(closure), |
B(Star), R(5), |
- B(LdaContextSlot), R(context), U8(4), |
- B(Star), R(6), |
- B(CallRuntime), U16(Runtime::kCreateJSGeneratorObject), R(5), U8(2), |
+ B(CallRuntime), U16(Runtime::kCreateJSGeneratorObject), R(5), U8(1), |
B(StaContextSlot), R(context), U8(5), |
B(Star), R(5), |
B(LdaContextSlot), R(context), U8(5), |
@@ -258,10 +254,9 @@ bytecodes: [ |
/* 25 S> */ B(Return), |
] |
constant pool: [ |
- kInstanceTypeDontCare, |
] |
handlers: [ |
- [36, 220, 226], |
+ [36, 215, 221], |
] |
--- |
@@ -270,7 +265,7 @@ snippet: " |
" |
frame size: 17 |
parameter count: 1 |
-bytecode array length: 794 |
+bytecode array length: 789 |
bytecodes: [ |
B(Ldar), R(new_target), |
B(JumpIfUndefined), U8(18), |
@@ -278,7 +273,7 @@ bytecodes: [ |
B(Star), R(3), |
B(LdaZero), |
B(TestEqualStrict), R(3), |
- B(JumpIfTrue), U8(55), |
+ B(JumpIfTrue), U8(50), |
B(LdaSmi), U8(1), |
B(TestEqualStrict), R(3), |
B(JumpIfTrueConstant), U8(3), |
@@ -291,9 +286,7 @@ bytecodes: [ |
B(Mov), R(context), R(6), |
B(Ldar), R(closure), |
B(Star), R(7), |
- B(LdaContextSlot), R(context), U8(4), |
- B(Star), R(8), |
- B(CallRuntime), U16(Runtime::kCreateJSGeneratorObject), R(7), U8(2), |
+ B(CallRuntime), U16(Runtime::kCreateJSGeneratorObject), R(7), U8(1), |
B(StaContextSlot), R(context), U8(5), |
B(Star), R(7), |
B(LdaContextSlot), R(context), U8(5), |
@@ -634,9 +627,9 @@ constant pool: [ |
kInstanceTypeDontCare, |
] |
handlers: [ |
- [36, 712, 718], |
- [150, 448, 454], |
- [153, 399, 401], |
- [556, 571, 573], |
+ [36, 707, 713], |
+ [145, 443, 449], |
+ [148, 394, 396], |
+ [551, 566, 568], |
] |