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 4d16d988403c98aeab051bb7b012453fcd545236..4890828614ba2f8219043c8d52f3c61913780928 100644 |
--- a/test/cctest/interpreter/bytecode_expectations/Generators.golden |
+++ b/test/cctest/interpreter/bytecode_expectations/Generators.golden |
@@ -181,17 +181,17 @@ bytecodes: [ |
B(LdaFalse), |
B(Star), R(6), |
B(CallRuntime), U16(Runtime::k_CreateIterResultObject), R(5), U8(2), |
- B(Star), R(7), |
- B(LdrContextSlot), R(context), U8(5), U8(0), R(5), |
+ B(Star), R(5), |
+ B(LdrContextSlot), R(context), U8(5), U8(0), R(6), |
B(LdaSmi), U8(1), |
- B(SuspendGenerator), R(5), |
- B(Ldar), R(7), |
+ B(SuspendGenerator), R(6), |
+ B(Ldar), R(5), |
/* 25 S> */ B(Return), |
B(LdaSmi), U8(-2), |
B(Star), R(1), |
- B(CallRuntime), U16(Runtime::k_GeneratorGetInputOrDebugPos), R(5), U8(1), |
- B(Star), R(6), |
- B(CallRuntime), U16(Runtime::k_GeneratorGetResumeMode), R(5), U8(1), |
+ B(CallRuntime), U16(Runtime::k_GeneratorGetInputOrDebugPos), R(6), U8(1), |
+ B(Star), R(7), |
+ B(CallRuntime), U16(Runtime::k_GeneratorGetResumeMode), R(6), U8(1), |
B(Star), R(8), |
B(LdaZero), |
B(TestEqualStrict), R(8), U8(0), |
@@ -202,13 +202,13 @@ bytecodes: [ |
B(Jump), U8(2), |
B(LdaTrue), |
B(Star), R(10), |
- B(Mov), R(6), R(9), |
+ B(Mov), R(7), R(9), |
B(CallRuntime), U16(Runtime::k_CreateIterResultObject), R(9), U8(2), |
B(Star), R(3), |
B(LdaSmi), U8(1), |
B(Star), R(2), |
B(Jump), U8(35), |
- B(Ldar), R(6), |
+ B(Ldar), R(7), |
/* 16 E> */ B(Throw), |
B(LdrUndefined), R(5), |
B(LdaTrue), |
@@ -267,7 +267,7 @@ snippet: " |
" |
frame size: 18 |
parameter count: 1 |
-bytecode array length: 807 |
+bytecode array length: 805 |
bytecodes: [ |
B(Ldar), R(new_target), |
B(JumpIfUndefined), U8(28), |
@@ -379,23 +379,23 @@ bytecodes: [ |
/* 36 S> */ B(LdaContextSlot), R(context), U8(4), U8(0), |
B(JumpIfNotHole), U8(11), |
B(LdaConstant), U8(8), |
- B(Star), R(13), |
- B(CallRuntime), U16(Runtime::kThrowReferenceError), R(13), U8(1), |
+ B(Star), R(14), |
+ B(CallRuntime), U16(Runtime::kThrowReferenceError), R(14), U8(1), |
B(Star), R(12), |
B(LdaFalse), |
B(Star), R(13), |
B(CallRuntime), U16(Runtime::k_CreateIterResultObject), R(12), U8(2), |
- B(Star), R(14), |
- B(LdrContextSlot), R(1), U8(5), U8(0), R(12), |
+ B(Star), R(12), |
+ B(LdrContextSlot), R(1), U8(5), U8(0), R(13), |
B(LdaSmi), U8(1), |
- B(SuspendGenerator), R(12), |
- B(Ldar), R(14), |
+ B(SuspendGenerator), R(13), |
+ B(Ldar), R(12), |
/* 44 S> */ B(Return), |
B(LdaSmi), U8(-2), |
B(Star), R(4), |
- B(CallRuntime), U16(Runtime::k_GeneratorGetInputOrDebugPos), R(12), U8(1), |
- B(Star), R(13), |
- B(CallRuntime), U16(Runtime::k_GeneratorGetResumeMode), R(12), U8(1), |
+ B(CallRuntime), U16(Runtime::k_GeneratorGetInputOrDebugPos), R(13), U8(1), |
+ B(Star), R(14), |
+ B(CallRuntime), U16(Runtime::k_GeneratorGetResumeMode), R(13), U8(1), |
B(Star), R(15), |
B(LdaZero), |
B(TestEqualStrict), R(15), U8(0), |
@@ -406,7 +406,7 @@ bytecodes: [ |
B(Jump), U8(2), |
B(LdaTrue), |
B(Star), R(17), |
- B(Mov), R(13), R(16), |
+ B(Mov), R(14), R(16), |
B(CallRuntime), U16(Runtime::k_CreateIterResultObject), R(16), U8(2), |
B(PopContext), R(2), |
B(PopContext), R(2), |
@@ -417,14 +417,13 @@ bytecodes: [ |
B(Star), R(9), |
B(LdaZero), |
B(Star), R(8), |
- B(Jump), U8(76), |
- B(Ldar), R(13), |
+ B(Jump), U8(74), |
+ B(Ldar), R(14), |
/* 36 E> */ B(Throw), |
- B(Ldar), R(13), |
B(PopContext), R(2), |
B(LdaZero), |
B(StaContextSlot), R(1), U8(9), U8(0), |
- B(Wide), B(JumpLoop), U16(-234), U16(0), |
+ B(Wide), B(JumpLoop), U16(-232), U16(0), |
B(Jump), U8(44), |
B(Star), R(12), |
B(Ldar), R(closure), |
@@ -585,7 +584,7 @@ constant pool: [ |
FIXED_ARRAY_TYPE, |
ONE_BYTE_INTERNALIZED_STRING_TYPE ["x"], |
Smi [146], |
- Smi [169], |
+ Smi [167], |
ONE_BYTE_INTERNALIZED_STRING_TYPE [".catch"], |
FIXED_ARRAY_TYPE, |
ONE_BYTE_INTERNALIZED_STRING_TYPE ["return"], |
@@ -595,12 +594,12 @@ constant pool: [ |
Smi [129], |
Smi [166], |
Smi [155], |
- Smi [603], |
+ Smi [601], |
] |
handlers: [ |
- [48, 720, 726], |
- [153, 460, 466], |
- [156, 416, 418], |
- [574, 588, 590], |
+ [48, 718, 724], |
+ [153, 458, 464], |
+ [156, 414, 416], |
+ [572, 586, 588], |
] |