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 bdd008208f2e0fbb6b536c647c07ffe9e1339e9a..d946edeac51c1bb012e593038033a0dd12db0665 100644 |
--- a/test/cctest/interpreter/bytecode_expectations/Generators.golden |
+++ b/test/cctest/interpreter/bytecode_expectations/Generators.golden |
@@ -13,7 +13,7 @@ snippet: " |
" |
frame size: 11 |
parameter count: 1 |
-bytecode array length: 204 |
+bytecode array length: 199 |
bytecodes: [ |
B(Ldar), R(new_target), |
B(JumpIfUndefined), U8(21), |
@@ -83,12 +83,14 @@ bytecodes: [ |
B(Star), R(3), |
B(LdaSmi), U8(2), |
B(Star), R(2), |
- B(CallRuntime), U16(Runtime::kInterpreterClearPendingMessage), R(0), U8(0), |
+ B(LdaTheHole), |
+ B(SetPendingMessage), |
B(Star), R(4), |
B(LdaCurrentContextSlot), U8(5), |
B(Star), R(5), |
B(CallRuntime), U16(Runtime::k_GeneratorClose), R(5), U8(1), |
- B(CallRuntime), U16(Runtime::kInterpreterSetPendingMessage), R(4), U8(1), |
+ B(Ldar), R(4), |
+ B(SetPendingMessage), |
B(LdaZero), |
B(TestEqualStrict), R(2), U8(0), |
B(JumpIfTrue), U8(18), |
@@ -121,7 +123,7 @@ snippet: " |
" |
frame size: 11 |
parameter count: 1 |
-bytecode array length: 301 |
+bytecode array length: 296 |
bytecodes: [ |
B(Ldar), R(new_target), |
B(JumpIfUndefined), U8(28), |
@@ -229,12 +231,14 @@ bytecodes: [ |
B(Star), R(3), |
B(LdaSmi), U8(3), |
B(Star), R(2), |
- B(CallRuntime), U16(Runtime::kInterpreterClearPendingMessage), R(0), U8(0), |
+ B(LdaTheHole), |
+ B(SetPendingMessage), |
B(Star), R(4), |
B(LdaCurrentContextSlot), U8(5), |
B(Star), R(5), |
B(CallRuntime), U16(Runtime::k_GeneratorClose), R(5), U8(1), |
- B(CallRuntime), U16(Runtime::kInterpreterSetPendingMessage), R(4), U8(1), |
+ B(Ldar), R(4), |
+ B(SetPendingMessage), |
B(LdaZero), |
B(TestEqualStrict), R(2), U8(0), |
B(JumpIfTrue), U8(25), |
@@ -273,7 +277,7 @@ snippet: " |
" |
frame size: 18 |
parameter count: 1 |
-bytecode array length: 796 |
+bytecode array length: 783 |
bytecodes: [ |
B(Ldar), R(new_target), |
B(JumpIfUndefined), U8(28), |
@@ -457,7 +461,8 @@ bytecodes: [ |
B(Star), R(9), |
B(LdaSmi), U8(1), |
B(Star), R(8), |
- B(CallRuntime), U16(Runtime::kInterpreterClearPendingMessage), R(0), U8(0), |
+ B(LdaTheHole), |
+ B(SetPendingMessage), |
B(Star), R(10), |
B(LdaContextSlot), R(1), U8(9), U8(0), |
B(Star), R(11), |
@@ -483,7 +488,7 @@ bytecodes: [ |
B(Star), R(11), |
B(LdaSmi), U8(1), |
B(TestEqualStrict), R(11), U8(20), |
- B(JumpIfFalse), U8(78), |
+ B(JumpIfFalse), U8(75), |
B(LdaContextSlot), R(1), U8(11), U8(0), |
B(TypeOf), |
B(Star), R(11), |
@@ -503,12 +508,13 @@ bytecodes: [ |
B(LdaContextSlot), R(1), U8(7), U8(0), |
B(Star), R(13), |
B(InvokeIntrinsic), U8(Runtime::k_Call), R(12), U8(2), |
- B(Jump), U8(23), |
+ B(Jump), U8(20), |
B(Star), R(12), |
B(Ldar), R(closure), |
B(CreateCatchContext), R(12), U8(10), U8(15), |
B(Star), R(11), |
- B(CallRuntime), U16(Runtime::kInterpreterClearPendingMessage), R(0), U8(0), |
+ B(LdaTheHole), |
+ B(SetPendingMessage), |
B(Ldar), R(11), |
B(PushContext), R(2), |
B(PopContext), R(2), |
@@ -527,7 +533,8 @@ bytecodes: [ |
B(LdaContextSlot), R(1), U8(12), U8(0), |
B(Star), R(11), |
B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R(11), U8(1), |
- B(CallRuntime), U16(Runtime::kInterpreterSetPendingMessage), R(10), U8(1), |
+ B(Ldar), R(10), |
+ B(SetPendingMessage), |
B(LdaZero), |
B(TestEqualStrict), R(8), U8(0), |
B(JumpIfTrue), U8(11), |
@@ -563,12 +570,14 @@ bytecodes: [ |
B(Star), R(6), |
B(LdaSmi), U8(4), |
B(Star), R(5), |
- B(CallRuntime), U16(Runtime::kInterpreterClearPendingMessage), R(0), U8(0), |
+ B(LdaTheHole), |
+ B(SetPendingMessage), |
B(Star), R(7), |
B(LdaCurrentContextSlot), U8(5), |
B(Star), R(8), |
B(CallRuntime), U16(Runtime::k_GeneratorClose), R(8), U8(1), |
- B(CallRuntime), U16(Runtime::kInterpreterSetPendingMessage), R(7), U8(1), |
+ B(Ldar), R(7), |
+ B(SetPendingMessage), |
B(LdaZero), |
B(TestEqualStrict), R(5), U8(0), |
B(JumpIfTrue), U8(32), |
@@ -615,15 +624,15 @@ constant pool: [ |
ONE_BYTE_INTERNALIZED_STRING_TYPE ["function"], |
ONE_BYTE_INTERNALIZED_STRING_TYPE [""], |
FIXED_ARRAY_TYPE, |
- Smi [136], |
- Smi [176], |
- Smi [164], |
- Smi [601], |
+ Smi [133], |
+ Smi [173], |
+ Smi [161], |
+ Smi [593], |
] |
handlers: [ |
- [46, 710, 716], |
+ [46, 702, 708], |
[143, 438, 444], |
[146, 394, 396], |
- [557, 573, 575], |
+ [554, 570, 572], |
] |