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 516890b58f9369d4fc3876db098c40653eeefda7..1c9be825cb4317cb29dbacc184d06f6b26827836 100644 |
--- a/test/cctest/interpreter/bytecode_expectations/Generators.golden |
+++ b/test/cctest/interpreter/bytecode_expectations/Generators.golden |
@@ -138,7 +138,7 @@ bytecodes: [ |
B(JumpIfTrue), U8(60), |
B(LdaSmi), U8(1), |
B(TestEqualStrict), R(1), U8(0), |
- B(JumpIfTrueConstant), U8(0), |
+ B(JumpIfTrue), U8(130), |
B(LdaSmi), U8(78), |
B(Star), R(3), |
B(CallRuntime), U16(Runtime::kAbort), R(3), U8(1), |
@@ -268,7 +268,6 @@ bytecodes: [ |
/* 25 S> */ B(Return), |
] |
constant pool: [ |
- Smi [130], |
] |
handlers: [ |
[53, 228, 234], |
@@ -281,7 +280,7 @@ snippet: " |
" |
frame size: 18 |
parameter count: 1 |
-bytecode array length: 778 |
+bytecode array length: 775 |
bytecodes: [ |
B(Ldar), R(new_target), |
B(JumpIfUndefined), U8(35), |
@@ -294,7 +293,7 @@ bytecodes: [ |
B(JumpIfTrue), U8(60), |
B(LdaSmi), U8(1), |
B(TestEqualStrict), R(3), U8(0), |
- B(JumpIfTrueConstant), U8(3), |
+ B(JumpIfTrue), U8(154), |
B(LdaSmi), U8(78), |
B(Star), R(5), |
B(CallRuntime), U16(Runtime::kAbort), R(5), U8(1), |
@@ -338,7 +337,7 @@ bytecodes: [ |
B(Star), R(6), |
B(LdaZero), |
B(Star), R(5), |
- B(JumpConstant), U8(18), |
+ B(JumpConstant), U8(13), |
B(Ldar), R(10), |
/* 11 E> */ B(Throw), |
B(Ldar), R(closure), |
@@ -363,13 +362,13 @@ bytecodes: [ |
B(JumpIfTrue), U8(18), |
B(LdaSmi), U8(1), |
B(TestEqualStrict), R(3), U8(0), |
- B(JumpIfTrueConstant), U8(8), |
+ B(JumpIfTrue), U8(134), |
B(LdaSmi), U8(78), |
B(Star), R(12), |
B(CallRuntime), U16(Runtime::kAbort), R(12), U8(1), |
/* 27 S> */ B(LdaContextSlot), R(1), U8(7), U8(0), |
B(Star), R(13), |
- B(LdaNamedProperty), R(13), U8(4), U8(8), |
+ B(LdaNamedProperty), R(13), U8(3), U8(8), |
B(Star), R(12), |
/* 27 E> */ B(CallProperty), R(12), R(13), U8(1), U8(6), |
/* 27 E> */ B(StaContextSlot), R(1), U8(8), U8(0), |
@@ -382,11 +381,11 @@ bytecodes: [ |
B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R(12), U8(1), |
B(LdaContextSlot), R(1), U8(8), U8(0), |
B(Star), R(12), |
- B(LdaNamedProperty), R(12), U8(5), U8(10), |
- B(JumpIfToBooleanTrueConstant), U8(9), |
+ B(LdaNamedProperty), R(12), U8(4), U8(10), |
+ B(JumpIfToBooleanTrue), U8(147), |
B(LdaContextSlot), R(1), U8(8), U8(0), |
B(Star), R(12), |
- B(LdaNamedProperty), R(12), U8(6), U8(12), |
+ B(LdaNamedProperty), R(12), U8(5), U8(12), |
B(StaContextSlot), R(1), U8(10), U8(0), |
B(LdaSmi), U8(2), |
B(StaContextSlot), R(1), U8(9), U8(0), |
@@ -394,7 +393,7 @@ bytecodes: [ |
B(StaContextSlot), R(1), U8(6), U8(0), |
/* 16 E> */ B(StackCheck), |
B(Ldar), R(closure), |
- B(CreateBlockContext), U8(7), |
+ B(CreateBlockContext), U8(6), |
B(PushContext), R(2), |
B(LdaTheHole), |
B(StaCurrentContextSlot), U8(4), |
@@ -438,17 +437,17 @@ bytecodes: [ |
B(Star), R(9), |
B(LdaZero), |
B(Star), R(8), |
- B(Jump), U8(74), |
+ B(Jump), U8(71), |
B(Ldar), R(14), |
/* 36 E> */ B(Throw), |
B(PopContext), R(2), |
B(LdaZero), |
B(StaContextSlot), R(1), U8(9), U8(0), |
- B(Wide), B(JumpLoop), U16(-219), U16(0), |
+ B(JumpLoop), U8(218), U8(0), |
B(Jump), U8(44), |
B(Star), R(12), |
B(Ldar), R(closure), |
- B(CreateCatchContext), R(12), U8(10), U8(11), |
+ B(CreateCatchContext), R(12), U8(7), U8(8), |
B(Star), R(11), |
B(PushContext), R(2), |
B(LdaContextSlot), R(1), U8(9), U8(0), |
@@ -475,16 +474,16 @@ bytecodes: [ |
B(Star), R(11), |
B(LdaZero), |
B(TestEqualStrict), R(11), U8(15), |
- B(JumpIfTrueConstant), U8(17), |
+ B(JumpIfTrue), U8(159), |
B(LdaContextSlot), R(1), U8(7), U8(0), |
B(Star), R(11), |
- B(LdaNamedProperty), R(11), U8(12), U8(16), |
+ B(LdaNamedProperty), R(11), U8(9), U8(16), |
B(StaContextSlot), R(1), U8(11), U8(0), |
B(LdaContextSlot), R(1), U8(11), U8(0), |
B(Star), R(11), |
B(TestUndetectable), R(11), |
B(JumpIfFalse), U8(4), |
- B(JumpConstant), U8(16), |
+ B(Jump), U8(133), |
B(LdaContextSlot), R(1), U8(9), U8(0), |
B(Star), R(11), |
B(LdaSmi), U8(1), |
@@ -493,13 +492,13 @@ bytecodes: [ |
B(LdaContextSlot), R(1), U8(11), U8(0), |
B(TypeOf), |
B(Star), R(11), |
- B(LdaConstant), U8(13), |
+ B(LdaConstant), U8(10), |
B(TestEqualStrict), R(11), U8(20), |
B(JumpIfFalse), U8(4), |
B(Jump), U8(18), |
B(Wide), B(LdaSmi), U16(130), |
B(Star), R(11), |
- B(LdaConstant), U8(14), |
+ B(LdaConstant), U8(11), |
B(Star), R(12), |
B(CallRuntime), U16(Runtime::kNewTypeError), R(11), U8(2), |
B(Throw), |
@@ -512,7 +511,7 @@ bytecodes: [ |
B(Jump), U8(20), |
B(Star), R(12), |
B(Ldar), R(closure), |
- B(CreateCatchContext), R(12), U8(10), U8(15), |
+ B(CreateCatchContext), R(12), U8(7), U8(12), |
B(Star), R(11), |
B(LdaTheHole), |
B(SetPendingMessage), |
@@ -612,27 +611,22 @@ constant pool: [ |
FIXED_ARRAY_TYPE, |
CONSTANT_ELEMENTS_PAIR_TYPE, |
SYMBOL_TYPE, |
- Smi [154], |
ONE_BYTE_INTERNALIZED_STRING_TYPE ["next"], |
ONE_BYTE_INTERNALIZED_STRING_TYPE ["done"], |
ONE_BYTE_INTERNALIZED_STRING_TYPE ["value"], |
FIXED_ARRAY_TYPE, |
- Smi [134], |
- Smi [150], |
ONE_BYTE_INTERNALIZED_STRING_TYPE [".catch"], |
FIXED_ARRAY_TYPE, |
ONE_BYTE_INTERNALIZED_STRING_TYPE ["return"], |
ONE_BYTE_INTERNALIZED_STRING_TYPE ["function"], |
ONE_BYTE_INTERNALIZED_STRING_TYPE [""], |
FIXED_ARRAY_TYPE, |
- Smi [133], |
- Smi [159], |
- Smi [582], |
+ Smi [579], |
] |
handlers: [ |
- [53, 697, 703], |
- [149, 448, 454], |
- [152, 404, 406], |
- [550, 566, 568], |
+ [53, 694, 700], |
+ [149, 445, 451], |
+ [152, 401, 403], |
+ [547, 563, 565], |
] |