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 19cfc8612262cb686d00b798c9211831edb01a95..8353df79de40621269cca96e8b53f92a9aaa3ee6 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: 199 |
+bytecode array length: 197 |
bytecodes: [ |
B(Ldar), R(new_target), |
B(JumpIfUndefined), U8(21), |
@@ -53,26 +53,26 @@ bytecodes: [ |
B(Star), R(8), |
B(LdaZero), |
B(TestEqualStrict), R(8), U8(0), |
- B(JumpIfTrue), U8(32), |
+ B(JumpIfTrue), U8(31), |
B(LdaSmi), U8(2), |
B(TestEqualStrict), R(8), U8(0), |
- B(JumpIfTrue), U8(22), |
+ B(JumpIfTrue), U8(21), |
B(Jump), U8(2), |
B(LdaTrue), |
B(Star), R(10), |
B(Mov), R(7), R(9), |
- B(CallRuntime), U16(Runtime::k_CreateIterResultObject), R(9), U8(2), |
+ B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(9), U8(2), |
B(Star), R(3), |
B(LdaZero), |
B(Star), R(2), |
- B(Jump), U8(36), |
+ B(Jump), U8(35), |
B(Ldar), R(7), |
/* 11 E> */ B(Throw), |
B(LdaUndefined), |
B(Star), R(5), |
B(LdaTrue), |
B(Star), R(6), |
- B(CallRuntime), U16(Runtime::k_CreateIterResultObject), R(5), U8(2), |
+ B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(5), U8(2), |
B(Star), R(3), |
B(LdaSmi), U8(1), |
B(Star), R(2), |
@@ -113,7 +113,7 @@ bytecodes: [ |
constant pool: [ |
] |
handlers: [ |
- [39, 138, 144], |
+ [39, 136, 142], |
] |
--- |
@@ -123,7 +123,7 @@ snippet: " |
" |
frame size: 11 |
parameter count: 1 |
-bytecode array length: 296 |
+bytecode array length: 292 |
bytecodes: [ |
B(Ldar), R(new_target), |
B(JumpIfUndefined), U8(28), |
@@ -166,26 +166,26 @@ bytecodes: [ |
B(Star), R(8), |
B(LdaZero), |
B(TestEqualStrict), R(8), U8(0), |
- B(JumpIfTrue), U8(32), |
+ B(JumpIfTrue), U8(31), |
B(LdaSmi), U8(2), |
B(TestEqualStrict), R(8), U8(0), |
- B(JumpIfTrue), U8(22), |
+ B(JumpIfTrue), U8(21), |
B(Jump), U8(2), |
B(LdaTrue), |
B(Star), R(10), |
B(Mov), R(7), R(9), |
- B(CallRuntime), U16(Runtime::k_CreateIterResultObject), R(9), U8(2), |
+ B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(9), U8(2), |
B(Star), R(3), |
B(LdaZero), |
B(Star), R(2), |
- B(Jump), U8(116), |
+ B(Jump), U8(113), |
B(Ldar), R(7), |
/* 11 E> */ B(Throw), |
/* 16 S> */ B(LdaSmi), U8(42), |
B(Star), R(5), |
B(LdaFalse), |
B(Star), R(6), |
- B(CallRuntime), U16(Runtime::k_CreateIterResultObject), R(5), U8(2), |
+ B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(5), U8(2), |
B(Star), R(5), |
B(LdaCurrentContextSlot), U8(5), |
B(Star), R(6), |
@@ -201,26 +201,26 @@ bytecodes: [ |
B(Star), R(8), |
B(LdaZero), |
B(TestEqualStrict), R(8), U8(0), |
- B(JumpIfTrue), U8(33), |
+ B(JumpIfTrue), U8(32), |
B(LdaSmi), U8(2), |
B(TestEqualStrict), R(8), U8(0), |
- B(JumpIfTrue), U8(23), |
+ B(JumpIfTrue), U8(22), |
B(Jump), U8(2), |
B(LdaTrue), |
B(Star), R(10), |
B(Mov), R(7), R(9), |
- B(CallRuntime), U16(Runtime::k_CreateIterResultObject), R(9), U8(2), |
+ B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(9), U8(2), |
B(Star), R(3), |
B(LdaSmi), U8(1), |
B(Star), R(2), |
- B(Jump), U8(36), |
+ B(Jump), U8(35), |
B(Ldar), R(7), |
/* 16 E> */ B(Throw), |
B(LdaUndefined), |
B(Star), R(5), |
B(LdaTrue), |
B(Star), R(6), |
- B(CallRuntime), U16(Runtime::k_CreateIterResultObject), R(5), U8(2), |
+ B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(5), U8(2), |
B(Star), R(3), |
B(LdaSmi), U8(2), |
B(Star), R(2), |
@@ -264,10 +264,10 @@ bytecodes: [ |
/* 25 S> */ B(Return), |
] |
constant pool: [ |
- Smi [132], |
+ Smi [130], |
] |
handlers: [ |
- [46, 225, 231], |
+ [46, 221, 227], |
] |
--- |
@@ -277,7 +277,7 @@ snippet: " |
" |
frame size: 17 |
parameter count: 1 |
-bytecode array length: 775 |
+bytecode array length: 771 |
bytecodes: [ |
B(Ldar), R(new_target), |
B(JumpIfUndefined), U8(28), |
@@ -320,15 +320,15 @@ bytecodes: [ |
B(Star), R(10), |
B(LdaZero), |
B(TestEqualStrict), R(10), U8(0), |
- B(JumpIfTrue), U8(32), |
+ B(JumpIfTrue), U8(31), |
B(LdaSmi), U8(2), |
B(TestEqualStrict), R(10), U8(0), |
- B(JumpIfTrue), U8(22), |
+ B(JumpIfTrue), U8(21), |
B(Jump), U8(2), |
B(LdaTrue), |
B(Star), R(12), |
B(Mov), R(9), R(11), |
- B(CallRuntime), U16(Runtime::k_CreateIterResultObject), R(11), U8(2), |
+ B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(11), U8(2), |
B(Star), R(5), |
B(LdaZero), |
B(Star), R(4), |
@@ -398,7 +398,7 @@ bytecodes: [ |
B(Star), R(11), |
B(LdaFalse), |
B(Star), R(12), |
- B(CallRuntime), U16(Runtime::k_CreateIterResultObject), R(11), U8(2), |
+ B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(11), U8(2), |
B(Star), R(11), |
B(LdaContextSlot), R(1), U8(5), U8(0), |
B(Star), R(12), |
@@ -414,15 +414,15 @@ bytecodes: [ |
B(Star), R(14), |
B(LdaZero), |
B(TestEqualStrict), R(14), U8(0), |
- B(JumpIfTrue), U8(44), |
+ B(JumpIfTrue), U8(43), |
B(LdaSmi), U8(2), |
B(TestEqualStrict), R(14), U8(0), |
- B(JumpIfTrue), U8(34), |
+ B(JumpIfTrue), U8(33), |
B(Jump), U8(2), |
B(LdaTrue), |
B(Star), R(16), |
B(Mov), R(13), R(15), |
- B(CallRuntime), U16(Runtime::k_CreateIterResultObject), R(15), U8(2), |
+ B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(15), U8(2), |
B(PopContext), R(2), |
B(PopContext), R(2), |
B(PopContext), R(2), |
@@ -438,7 +438,7 @@ bytecodes: [ |
B(PopContext), R(2), |
B(LdaZero), |
B(StaContextSlot), R(1), U8(9), U8(0), |
- B(Wide), B(JumpLoop), U16(-221), U16(0), |
+ B(Wide), B(JumpLoop), U16(-219), U16(0), |
B(Jump), U8(44), |
B(Star), R(11), |
B(Ldar), R(closure), |
@@ -542,19 +542,19 @@ bytecodes: [ |
B(LdaSmi), U8(1), |
B(Star), R(4), |
B(Mov), R(8), R(5), |
- B(Jump), U8(48), |
+ B(Jump), U8(47), |
B(PopContext), R(1), |
B(PopContext), R(1), |
B(LdaSmi), U8(2), |
B(Star), R(4), |
B(Mov), R(8), R(5), |
- B(Jump), U8(35), |
+ B(Jump), U8(34), |
B(PopContext), R(1), |
B(LdaUndefined), |
B(Star), R(7), |
B(LdaTrue), |
B(Star), R(8), |
- B(CallRuntime), U16(Runtime::k_CreateIterResultObject), R(7), U8(2), |
+ B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(7), U8(2), |
B(Star), R(5), |
B(LdaSmi), U8(3), |
B(Star), R(4), |
@@ -606,13 +606,13 @@ constant pool: [ |
FIXED_ARRAY_TYPE, |
CONSTANT_ELEMENTS_PAIR_TYPE, |
SYMBOL_TYPE, |
- Smi [155], |
+ Smi [154], |
ONE_BYTE_INTERNALIZED_STRING_TYPE ["next"], |
ONE_BYTE_INTERNALIZED_STRING_TYPE ["done"], |
ONE_BYTE_INTERNALIZED_STRING_TYPE ["value"], |
FIXED_ARRAY_TYPE, |
- Smi [135], |
- Smi [152], |
+ Smi [134], |
+ Smi [150], |
ONE_BYTE_INTERNALIZED_STRING_TYPE [".catch"], |
FIXED_ARRAY_TYPE, |
ONE_BYTE_INTERNALIZED_STRING_TYPE ["return"], |
@@ -621,12 +621,12 @@ constant pool: [ |
FIXED_ARRAY_TYPE, |
Smi [133], |
Smi [159], |
- Smi [585], |
+ Smi [582], |
] |
handlers: [ |
- [46, 694, 700], |
- [143, 444, 450], |
- [146, 400, 402], |
- [546, 562, 564], |
+ [46, 690, 696], |
+ [142, 441, 447], |
+ [145, 397, 399], |
+ [543, 559, 561], |
] |