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 1a542b8aec239616cd1a9736953a4cc43671a5d5..3c76a8aeb3982819548826d9f23cfdd2579e3c76 100644 |
--- a/test/cctest/interpreter/bytecode_expectations/Generators.golden |
+++ b/test/cctest/interpreter/bytecode_expectations/Generators.golden |
@@ -36,9 +36,9 @@ bytecodes: [ |
/* 11 E> */ B(StackCheck), |
B(Mov), R(context), R(5), |
B(LdaImmutableCurrentContextSlot), U8(4), |
- B(Star), R(7), |
- B(Mov), R(closure), R(6), |
- /* 11 E> */ B(CallRuntime), U16(Runtime::kCreateJSGeneratorObject), R(6), U8(2), |
+ B(Star), R(8), |
+ B(Mov), R(closure), R(7), |
+ /* 11 E> */ B(CallRuntime), U16(Runtime::kCreateJSGeneratorObject), R(7), U8(2), |
B(StaCurrentContextSlot), U8(5), |
B(Star), R(6), |
B(LdaImmutableCurrentContextSlot), U8(5), |
@@ -151,9 +151,9 @@ bytecodes: [ |
/* 11 E> */ B(StackCheck), |
B(Mov), R(context), R(5), |
B(LdaImmutableCurrentContextSlot), U8(4), |
- B(Star), R(7), |
- B(Mov), R(closure), R(6), |
- /* 11 E> */ B(CallRuntime), U16(Runtime::kCreateJSGeneratorObject), R(6), U8(2), |
+ B(Star), R(8), |
+ B(Mov), R(closure), R(7), |
+ /* 11 E> */ B(CallRuntime), U16(Runtime::kCreateJSGeneratorObject), R(7), U8(2), |
B(StaCurrentContextSlot), U8(5), |
B(Star), R(6), |
B(LdaImmutableCurrentContextSlot), U8(5), |
@@ -306,9 +306,9 @@ bytecodes: [ |
/* 11 E> */ B(StackCheck), |
B(Mov), R(context), R(7), |
B(LdaImmutableCurrentContextSlot), U8(4), |
- B(Star), R(9), |
- B(Mov), R(closure), R(8), |
- /* 11 E> */ B(CallRuntime), U16(Runtime::kCreateJSGeneratorObject), R(8), U8(2), |
+ B(Star), R(10), |
+ B(Mov), R(closure), R(9), |
+ /* 11 E> */ B(CallRuntime), U16(Runtime::kCreateJSGeneratorObject), R(9), U8(2), |
B(StaCurrentContextSlot), U8(5), |
B(Star), R(8), |
B(LdaImmutableCurrentContextSlot), U8(5), |
@@ -349,11 +349,11 @@ bytecodes: [ |
B(StaContextSlot), R(1), U8(9), U8(0), |
B(Mov), R(context), R(10), |
B(Mov), R(context), R(11), |
- /* 30 S> */ B(CreateArrayLiteral), U8(1), U8(2), U8(9), |
- B(Star), R(12), |
- B(LdaNamedProperty), R(12), U8(2), U8(3), |
+ /* 30 S> */ B(CreateArrayLiteral), U8(1), U8(6), U8(9), |
B(Star), R(13), |
- B(CallProperty), R(13), R(12), U8(1), U8(5), |
+ B(LdaNamedProperty), R(13), U8(2), U8(7), |
+ B(Star), R(14), |
+ B(CallProperty), R(14), R(13), U8(1), U8(9), |
B(JumpIfJSReceiver), U8(7), |
B(CallRuntime), U16(Runtime::kThrowSymbolIteratorInvalid), R(0), U8(0), |
/* 30 E> */ B(StaContextSlot), R(1), U8(7), U8(0), |
@@ -367,10 +367,10 @@ bytecodes: [ |
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(14), |
+ B(LdaNamedProperty), R(14), U8(3), U8(15), |
B(Star), R(13), |
- B(LdaNamedProperty), R(13), U8(3), U8(9), |
- B(Star), R(12), |
- /* 27 E> */ B(CallProperty), R(12), R(13), U8(1), U8(7), |
+ /* 27 E> */ B(CallProperty), R(13), R(14), U8(1), U8(13), |
/* 27 E> */ B(StaContextSlot), R(1), U8(8), U8(0), |
B(Star), R(12), |
B(InvokeIntrinsic), U8(Runtime::k_IsJSReceiver), R(12), U8(1), |
@@ -381,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(4), U8(11), |
+ B(LdaNamedProperty), R(12), U8(4), U8(19), |
B(JumpIfToBooleanTrue), U8(147), |
B(LdaContextSlot), R(1), U8(8), U8(0), |
- B(Star), R(12), |
- B(LdaNamedProperty), R(12), U8(5), U8(13), |
+ B(Star), R(14), |
+ B(LdaNamedProperty), R(14), U8(5), U8(21), |
B(StaContextSlot), R(1), U8(10), U8(0), |
B(LdaSmi), I8(2), |
B(StaContextSlot), R(1), U8(9), U8(0), |
@@ -453,7 +453,7 @@ bytecodes: [ |
B(LdaContextSlot), R(1), U8(9), U8(0), |
B(Star), R(12), |
B(LdaSmi), I8(2), |
- B(TestEqualStrict), R(12), U8(15), |
+ B(TestEqualStrict), R(12), U8(33), |
B(JumpIfFalse), U8(8), |
B(LdaSmi), I8(1), |
B(StaContextSlot), R(1), U8(9), U8(0), |
@@ -473,11 +473,11 @@ bytecodes: [ |
B(LdaContextSlot), R(1), U8(9), U8(0), |
B(Star), R(11), |
B(LdaZero), |
- B(TestEqualStrict), R(11), U8(16), |
+ B(TestEqualStrict), R(11), U8(36), |
B(JumpIfTrue), U8(159), |
B(LdaContextSlot), R(1), U8(7), U8(0), |
- B(Star), R(11), |
- B(LdaNamedProperty), R(11), U8(9), U8(17), |
+ B(Star), R(12), |
+ B(LdaNamedProperty), R(12), U8(9), U8(37), |
B(StaContextSlot), R(1), U8(11), U8(0), |
B(LdaContextSlot), R(1), U8(11), U8(0), |
B(Star), R(11), |
@@ -487,13 +487,13 @@ bytecodes: [ |
B(LdaContextSlot), R(1), U8(9), U8(0), |
B(Star), R(11), |
B(LdaSmi), I8(1), |
- B(TestEqualStrict), R(11), U8(20), |
+ B(TestEqualStrict), R(11), U8(42), |
B(JumpIfFalse), U8(75), |
B(LdaContextSlot), R(1), U8(11), U8(0), |
B(TypeOf), |
B(Star), R(11), |
B(LdaConstant), U8(10), |
- B(TestEqualStrict), R(11), U8(21), |
+ B(TestEqualStrict), R(11), U8(43), |
B(JumpIfFalse), U8(4), |
B(Jump), U8(18), |
B(Wide), B(LdaSmi), I16(130), |
@@ -520,10 +520,10 @@ bytecodes: [ |
B(PopContext), R(2), |
B(Jump), U8(47), |
B(LdaContextSlot), R(1), U8(11), U8(0), |
- B(Star), R(11), |
- B(LdaContextSlot), R(1), U8(7), U8(0), |
B(Star), R(12), |
- B(InvokeIntrinsic), U8(Runtime::k_Call), R(11), U8(2), |
+ B(LdaContextSlot), R(1), U8(7), U8(0), |
+ B(Star), R(13), |
+ B(InvokeIntrinsic), U8(Runtime::k_Call), R(12), U8(2), |
B(StaContextSlot), R(1), U8(12), U8(0), |
B(LdaContextSlot), R(1), U8(12), U8(0), |
B(Star), R(11), |