Index: test/cctest/interpreter/bytecode_expectations/ForOf.golden |
diff --git a/test/cctest/interpreter/bytecode_expectations/ForOf.golden b/test/cctest/interpreter/bytecode_expectations/ForOf.golden |
index 5b85b3207e5b93b611cc9bfd25bd8b3f5fda228d..078518fd765fa8531b06006ccfe1a647c4095061 100644 |
--- a/test/cctest/interpreter/bytecode_expectations/ForOf.golden |
+++ b/test/cctest/interpreter/bytecode_expectations/ForOf.golden |
@@ -18,25 +18,25 @@ bytecodes: [ |
B(Star), R(4), |
B(Mov), R(context), R(11), |
B(Mov), R(context), R(12), |
- /* 48 S> */ B(CreateArrayLiteral), U8(0), U8(0), U8(9), |
+ /* 48 S> */ B(CreateArrayLiteral), U8(0), U8(2), U8(9), |
B(Star), R(13), |
- B(LdaNamedProperty), R(13), U8(1), U8(2), |
+ B(LdaNamedProperty), R(13), U8(1), U8(3), |
B(Star), R(14), |
- B(CallProperty), R(14), R(13), U8(1), U8(4), |
+ B(CallProperty), R(14), R(13), U8(1), U8(5), |
B(JumpIfJSReceiver), U8(7), |
B(CallRuntime), U16(Runtime::kThrowSymbolIteratorInvalid), R(0), U8(0), |
B(Star), R(2), |
- /* 45 S> */ B(LdaNamedProperty), R(2), U8(2), U8(8), |
+ /* 45 S> */ B(LdaNamedProperty), R(2), U8(2), U8(9), |
B(Star), R(13), |
- /* 45 E> */ B(CallProperty), R(13), R(2), U8(1), U8(6), |
+ /* 45 E> */ B(CallProperty), R(13), R(2), U8(1), U8(7), |
B(Star), R(3), |
/* 45 E> */ B(InvokeIntrinsic), U8(Runtime::k_IsJSReceiver), R(3), U8(1), |
B(ToBooleanLogicalNot), |
B(JumpIfFalse), U8(7), |
B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R(3), U8(1), |
- B(LdaNamedProperty), R(3), U8(3), U8(10), |
+ B(LdaNamedProperty), R(3), U8(3), U8(11), |
B(JumpIfToBooleanTrue), U8(25), |
- B(LdaNamedProperty), R(3), U8(4), U8(12), |
+ B(LdaNamedProperty), R(3), U8(4), U8(13), |
B(Star), R(5), |
B(LdaSmi), I8(2), |
B(Star), R(4), |
@@ -53,7 +53,7 @@ bytecodes: [ |
B(Star), R(12), |
B(PushContext), R(8), |
B(LdaSmi), I8(2), |
- B(TestEqualStrict), R(4), U8(14), |
+ B(TestEqualStrict), R(4), U8(15), |
B(JumpIfFalse), U8(6), |
B(LdaSmi), I8(1), |
B(Star), R(4), |
@@ -71,21 +71,21 @@ bytecodes: [ |
B(SetPendingMessage), |
B(Star), R(11), |
B(LdaZero), |
- B(TestEqualStrict), R(4), U8(15), |
+ B(TestEqualStrict), R(4), U8(16), |
B(JumpIfTrue), U8(111), |
- B(LdaNamedProperty), R(2), U8(7), U8(16), |
+ B(LdaNamedProperty), R(2), U8(7), U8(17), |
B(Star), R(6), |
B(TestUndetectable), R(6), |
B(JumpIfFalse), U8(4), |
B(Jump), U8(99), |
B(LdaSmi), I8(1), |
- B(TestEqualStrict), R(4), U8(19), |
+ B(TestEqualStrict), R(4), U8(20), |
B(JumpIfFalse), U8(67), |
B(Ldar), R(6), |
B(TypeOf), |
B(Star), R(12), |
B(LdaConstant), U8(8), |
- B(TestEqualStrict), R(12), U8(20), |
+ B(TestEqualStrict), R(12), U8(21), |
B(JumpIfFalse), U8(4), |
B(Jump), U8(18), |
B(Wide), B(LdaSmi), I16(130), |
@@ -313,25 +313,25 @@ bytecodes: [ |
B(Star), R(4), |
B(Mov), R(context), R(11), |
B(Mov), R(context), R(12), |
- /* 48 S> */ B(CreateArrayLiteral), U8(0), U8(0), U8(9), |
+ /* 48 S> */ B(CreateArrayLiteral), U8(0), U8(2), U8(9), |
B(Star), R(13), |
- B(LdaNamedProperty), R(13), U8(1), U8(2), |
+ B(LdaNamedProperty), R(13), U8(1), U8(3), |
B(Star), R(14), |
- B(CallProperty), R(14), R(13), U8(1), U8(4), |
+ B(CallProperty), R(14), R(13), U8(1), U8(5), |
B(JumpIfJSReceiver), U8(7), |
B(CallRuntime), U16(Runtime::kThrowSymbolIteratorInvalid), R(0), U8(0), |
B(Star), R(2), |
- /* 45 S> */ B(LdaNamedProperty), R(2), U8(2), U8(8), |
+ /* 45 S> */ B(LdaNamedProperty), R(2), U8(2), U8(9), |
B(Star), R(13), |
- /* 45 E> */ B(CallProperty), R(13), R(2), U8(1), U8(6), |
+ /* 45 E> */ B(CallProperty), R(13), R(2), U8(1), U8(7), |
B(Star), R(3), |
/* 45 E> */ B(InvokeIntrinsic), U8(Runtime::k_IsJSReceiver), R(3), U8(1), |
B(ToBooleanLogicalNot), |
B(JumpIfFalse), U8(7), |
B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R(3), U8(1), |
- B(LdaNamedProperty), R(3), U8(3), U8(10), |
+ B(LdaNamedProperty), R(3), U8(3), U8(11), |
B(JumpIfToBooleanTrue), U8(43), |
- B(LdaNamedProperty), R(3), U8(4), U8(12), |
+ B(LdaNamedProperty), R(3), U8(4), U8(13), |
B(Star), R(5), |
B(LdaSmi), I8(2), |
B(Star), R(4), |
@@ -339,11 +339,11 @@ bytecodes: [ |
/* 34 E> */ B(StackCheck), |
B(Mov), R(0), R(1), |
/* 66 S> */ B(LdaSmi), I8(10), |
- /* 72 E> */ B(TestEqual), R(1), U8(14), |
+ /* 72 E> */ B(TestEqual), R(1), U8(15), |
B(JumpIfFalse), U8(4), |
/* 79 S> */ B(Jump), U8(14), |
/* 91 S> */ B(LdaSmi), I8(20), |
- /* 97 E> */ B(TestEqual), R(1), U8(15), |
+ /* 97 E> */ B(TestEqual), R(1), U8(16), |
B(JumpIfFalse), U8(4), |
/* 104 S> */ B(Jump), U8(8), |
B(LdaZero), |
@@ -356,7 +356,7 @@ bytecodes: [ |
B(Star), R(12), |
B(PushContext), R(8), |
B(LdaSmi), I8(2), |
- B(TestEqualStrict), R(4), U8(16), |
+ B(TestEqualStrict), R(4), U8(17), |
B(JumpIfFalse), U8(6), |
B(LdaSmi), I8(1), |
B(Star), R(4), |
@@ -374,21 +374,21 @@ bytecodes: [ |
B(SetPendingMessage), |
B(Star), R(11), |
B(LdaZero), |
- B(TestEqualStrict), R(4), U8(17), |
+ B(TestEqualStrict), R(4), U8(18), |
B(JumpIfTrue), U8(111), |
- B(LdaNamedProperty), R(2), U8(7), U8(18), |
+ B(LdaNamedProperty), R(2), U8(7), U8(19), |
B(Star), R(6), |
B(TestUndetectable), R(6), |
B(JumpIfFalse), U8(4), |
B(Jump), U8(99), |
B(LdaSmi), I8(1), |
- B(TestEqualStrict), R(4), U8(21), |
+ B(TestEqualStrict), R(4), U8(22), |
B(JumpIfFalse), U8(67), |
B(Ldar), R(6), |
B(TypeOf), |
B(Star), R(12), |
B(LdaConstant), U8(8), |
- B(TestEqualStrict), R(12), U8(22), |
+ B(TestEqualStrict), R(12), U8(23), |
B(JumpIfFalse), U8(4), |
B(Jump), U8(18), |
B(Wide), B(LdaSmi), I16(130), |
@@ -460,39 +460,39 @@ parameter count: 1 |
bytecode array length: 297 |
bytecodes: [ |
/* 30 E> */ B(StackCheck), |
- /* 42 S> */ B(CreateObjectLiteral), U8(0), U8(0), U8(1), R(8), |
+ /* 42 S> */ B(CreateObjectLiteral), U8(0), U8(2), U8(1), R(8), |
B(Mov), R(8), R(0), |
B(LdaZero), |
B(Star), R(3), |
B(Mov), R(context), R(10), |
B(Mov), R(context), R(11), |
- /* 77 S> */ B(CreateArrayLiteral), U8(1), U8(1), U8(9), |
+ /* 77 S> */ B(CreateArrayLiteral), U8(1), U8(3), U8(9), |
B(Star), R(12), |
- B(LdaNamedProperty), R(12), U8(2), U8(2), |
+ B(LdaNamedProperty), R(12), U8(2), U8(4), |
B(Star), R(13), |
- B(CallProperty), R(13), R(12), U8(1), U8(4), |
+ B(CallProperty), R(13), R(12), U8(1), U8(6), |
B(JumpIfJSReceiver), U8(7), |
B(CallRuntime), U16(Runtime::kThrowSymbolIteratorInvalid), R(0), U8(0), |
B(Star), R(1), |
- /* 74 S> */ B(LdaNamedProperty), R(1), U8(3), U8(8), |
+ /* 74 S> */ B(LdaNamedProperty), R(1), U8(3), U8(10), |
B(Star), R(12), |
- /* 74 E> */ B(CallProperty), R(12), R(1), U8(1), U8(6), |
+ /* 74 E> */ B(CallProperty), R(12), R(1), U8(1), U8(8), |
B(Star), R(2), |
/* 74 E> */ B(InvokeIntrinsic), U8(Runtime::k_IsJSReceiver), R(2), U8(1), |
B(ToBooleanLogicalNot), |
B(JumpIfFalse), U8(7), |
B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R(2), U8(1), |
- B(LdaNamedProperty), R(2), U8(4), U8(10), |
+ B(LdaNamedProperty), R(2), U8(4), U8(12), |
B(JumpIfToBooleanTrue), U8(31), |
- /* 67 E> */ B(LdaNamedProperty), R(2), U8(5), U8(12), |
+ /* 67 E> */ B(LdaNamedProperty), R(2), U8(5), U8(14), |
B(Star), R(4), |
B(LdaSmi), I8(2), |
B(Star), R(3), |
B(Ldar), R(4), |
- B(StaNamedPropertySloppy), R(0), U8(6), U8(14), |
+ B(StaNamedPropertySloppy), R(0), U8(6), U8(16), |
/* 62 E> */ B(StackCheck), |
/* 88 S> */ B(Nop), |
- /* 96 E> */ B(LdaNamedProperty), R(0), U8(6), U8(16), |
+ /* 96 E> */ B(LdaNamedProperty), R(0), U8(6), U8(18), |
B(Star), R(9), |
B(LdaZero), |
B(Star), R(8), |
@@ -504,7 +504,7 @@ bytecodes: [ |
B(Star), R(11), |
B(PushContext), R(7), |
B(LdaSmi), I8(2), |
- B(TestEqualStrict), R(3), U8(18), |
+ B(TestEqualStrict), R(3), U8(20), |
B(JumpIfFalse), U8(6), |
B(LdaSmi), I8(1), |
B(Star), R(3), |
@@ -522,21 +522,21 @@ bytecodes: [ |
B(SetPendingMessage), |
B(Star), R(10), |
B(LdaZero), |
- B(TestEqualStrict), R(3), U8(19), |
+ B(TestEqualStrict), R(3), U8(21), |
B(JumpIfTrue), U8(111), |
- B(LdaNamedProperty), R(1), U8(9), U8(20), |
+ B(LdaNamedProperty), R(1), U8(9), U8(22), |
B(Star), R(5), |
B(TestUndetectable), R(5), |
B(JumpIfFalse), U8(4), |
B(Jump), U8(99), |
B(LdaSmi), I8(1), |
- B(TestEqualStrict), R(3), U8(23), |
+ B(TestEqualStrict), R(3), U8(25), |
B(JumpIfFalse), U8(67), |
B(Ldar), R(5), |
B(TypeOf), |
B(Star), R(11), |
B(LdaConstant), U8(10), |
- B(TestEqualStrict), R(11), U8(24), |
+ B(TestEqualStrict), R(11), U8(26), |
B(JumpIfFalse), U8(4), |
B(Jump), U8(18), |
B(Wide), B(LdaSmi), I16(130), |