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 ece25c684966e4ff0627493f8d14896332c40ca3..01d6aebeaff02b26f78a14e25c77e6907b811550 100644 |
--- a/test/cctest/interpreter/bytecode_expectations/ForOf.golden |
+++ b/test/cctest/interpreter/bytecode_expectations/ForOf.golden |
@@ -22,19 +22,19 @@ bytecodes: [ |
/* 48 S> */ B(CreateArrayLiteral), U8(0), U8(0), U8(1), |
B(Star), R(14), |
B(LdaConstant), U8(1), |
- /* 48 E> */ B(LdrKeyedProperty), R(14), U8(3), R(13), |
- /* 48 E> */ B(Call), R(13), R(14), U8(1), U8(1), |
+ /* 48 E> */ B(LdrKeyedProperty), R(14), U8(4), R(13), |
+ /* 48 E> */ B(Call), R(13), R(14), U8(1), U8(2), |
B(Star), R(2), |
- /* 45 S> */ B(LdrNamedProperty), R(2), U8(2), U8(7), R(14), |
- /* 45 E> */ B(Call), R(14), R(2), U8(1), U8(5), |
+ /* 45 S> */ B(LdrNamedProperty), R(2), U8(2), U8(8), R(14), |
+ /* 45 E> */ B(Call), R(14), R(2), U8(1), U8(6), |
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(9), |
+ B(LdaNamedProperty), R(3), U8(3), U8(10), |
B(JumpIfToBooleanTrue), U8(24), |
- B(LdrNamedProperty), R(3), U8(4), U8(11), R(5), |
+ B(LdrNamedProperty), R(3), U8(4), U8(12), R(5), |
B(LdaSmi), U8(2), |
B(Star), R(4), |
B(Mov), R(5), R(0), |
@@ -50,7 +50,7 @@ bytecodes: [ |
B(Star), R(12), |
B(PushContext), R(8), |
B(LdaSmi), U8(2), |
- B(TestEqualStrict), R(4), U8(13), |
+ B(TestEqualStrict), R(4), U8(14), |
B(JumpIfFalse), U8(6), |
B(LdaSmi), U8(1), |
B(Star), R(4), |
@@ -66,24 +66,24 @@ bytecodes: [ |
B(CallRuntime), U16(Runtime::kInterpreterClearPendingMessage), R(0), U8(0), |
B(Star), R(11), |
B(LdaZero), |
- B(TestEqualStrict), R(4), U8(14), |
+ B(TestEqualStrict), R(4), U8(15), |
B(JumpIfTrue), U8(121), |
B(LdaUndefined), |
- B(TestEqualStrict), R(2), U8(15), |
+ B(TestEqualStrict), R(2), U8(16), |
B(JumpIfTrue), U8(115), |
- B(LdrNamedProperty), R(2), U8(7), U8(16), R(6), |
+ B(LdrNamedProperty), R(2), U8(7), U8(17), R(6), |
B(LdaNull), |
- B(TestEqual), R(6), U8(18), |
+ B(TestEqual), R(6), U8(19), |
B(JumpIfFalse), U8(4), |
B(Jump), U8(102), |
B(LdaSmi), U8(1), |
- B(TestEqualStrict), R(4), U8(19), |
+ B(TestEqualStrict), R(4), U8(20), |
B(JumpIfFalse), U8(70), |
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), U16(129), |
@@ -160,19 +160,19 @@ bytecodes: [ |
B(Mov), R(context), R(12), |
B(Mov), R(context), R(13), |
/* 68 S> */ B(LdaConstant), U8(1), |
- /* 68 E> */ B(LdrKeyedProperty), R(0), U8(3), R(14), |
- /* 68 E> */ B(Call), R(14), R(0), U8(1), U8(1), |
+ /* 68 E> */ B(LdrKeyedProperty), R(0), U8(4), R(14), |
+ /* 68 E> */ B(Call), R(14), R(0), U8(1), U8(2), |
B(Star), R(3), |
- /* 65 S> */ B(LdrNamedProperty), R(3), U8(2), U8(7), R(15), |
- /* 65 E> */ B(Call), R(15), R(3), U8(1), U8(5), |
+ /* 65 S> */ B(LdrNamedProperty), R(3), U8(2), U8(8), R(15), |
+ /* 65 E> */ B(Call), R(15), R(3), U8(1), U8(6), |
B(Star), R(4), |
/* 65 E> */ B(InvokeIntrinsic), U8(Runtime::k_IsJSReceiver), R(4), U8(1), |
B(ToBooleanLogicalNot), |
B(JumpIfFalse), U8(7), |
B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R(4), U8(1), |
- B(LdaNamedProperty), R(4), U8(3), U8(9), |
+ B(LdaNamedProperty), R(4), U8(3), U8(10), |
B(JumpIfToBooleanTrue), U8(26), |
- B(LdrNamedProperty), R(4), U8(4), U8(11), R(6), |
+ B(LdrNamedProperty), R(4), U8(4), U8(12), R(6), |
B(LdaSmi), U8(2), |
B(Star), R(5), |
B(Mov), R(6), R(1), |
@@ -189,7 +189,7 @@ bytecodes: [ |
B(Star), R(13), |
B(PushContext), R(9), |
B(LdaSmi), U8(2), |
- B(TestEqualStrict), R(5), U8(13), |
+ B(TestEqualStrict), R(5), U8(14), |
B(JumpIfFalse), U8(6), |
B(LdaSmi), U8(1), |
B(Star), R(5), |
@@ -205,24 +205,24 @@ bytecodes: [ |
B(CallRuntime), U16(Runtime::kInterpreterClearPendingMessage), R(0), U8(0), |
B(Star), R(12), |
B(LdaZero), |
- B(TestEqualStrict), R(5), U8(14), |
+ B(TestEqualStrict), R(5), U8(15), |
B(JumpIfTrue), U8(121), |
B(LdaUndefined), |
- B(TestEqualStrict), R(3), U8(15), |
+ B(TestEqualStrict), R(3), U8(16), |
B(JumpIfTrue), U8(115), |
- B(LdrNamedProperty), R(3), U8(7), U8(16), R(7), |
+ B(LdrNamedProperty), R(3), U8(7), U8(17), R(7), |
B(LdaNull), |
- B(TestEqual), R(7), U8(18), |
+ B(TestEqual), R(7), U8(19), |
B(JumpIfFalse), U8(4), |
B(Jump), U8(102), |
B(LdaSmi), U8(1), |
- B(TestEqualStrict), R(5), U8(19), |
+ B(TestEqualStrict), R(5), U8(20), |
B(JumpIfFalse), U8(70), |
B(Ldar), R(7), |
B(TypeOf), |
B(Star), R(13), |
B(LdaConstant), U8(8), |
- B(TestEqualStrict), R(13), U8(20), |
+ B(TestEqualStrict), R(13), U8(21), |
B(JumpIfFalse), U8(4), |
B(Jump), U8(18), |
B(Wide), B(LdaSmi), U16(129), |
@@ -306,30 +306,30 @@ bytecodes: [ |
/* 48 S> */ B(CreateArrayLiteral), U8(0), U8(0), U8(1), |
B(Star), R(14), |
B(LdaConstant), U8(1), |
- /* 48 E> */ B(LdrKeyedProperty), R(14), U8(3), R(13), |
- /* 48 E> */ B(Call), R(13), R(14), U8(1), U8(1), |
+ /* 48 E> */ B(LdrKeyedProperty), R(14), U8(4), R(13), |
+ /* 48 E> */ B(Call), R(13), R(14), U8(1), U8(2), |
B(Star), R(2), |
- /* 45 S> */ B(LdrNamedProperty), R(2), U8(2), U8(7), R(14), |
- /* 45 E> */ B(Call), R(14), R(2), U8(1), U8(5), |
+ /* 45 S> */ B(LdrNamedProperty), R(2), U8(2), U8(8), R(14), |
+ /* 45 E> */ B(Call), R(14), R(2), U8(1), U8(6), |
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(9), |
+ B(LdaNamedProperty), R(3), U8(3), U8(10), |
B(JumpIfToBooleanTrue), U8(42), |
- B(LdrNamedProperty), R(3), U8(4), U8(11), R(5), |
+ B(LdrNamedProperty), R(3), U8(4), U8(12), R(5), |
B(LdaSmi), U8(2), |
B(Star), R(4), |
B(Mov), R(5), R(0), |
/* 34 E> */ B(StackCheck), |
B(Mov), R(0), R(1), |
/* 66 S> */ B(LdaSmi), U8(10), |
- /* 72 E> */ B(TestEqual), R(1), U8(13), |
+ /* 72 E> */ B(TestEqual), R(1), U8(14), |
B(JumpIfFalse), U8(4), |
/* 79 S> */ B(Jump), U8(14), |
/* 91 S> */ B(LdaSmi), U8(20), |
- /* 97 E> */ B(TestEqual), R(1), U8(14), |
+ /* 97 E> */ B(TestEqual), R(1), U8(15), |
B(JumpIfFalse), U8(4), |
/* 104 S> */ B(Jump), U8(8), |
B(LdaZero), |
@@ -342,7 +342,7 @@ bytecodes: [ |
B(Star), R(12), |
B(PushContext), R(8), |
B(LdaSmi), U8(2), |
- B(TestEqualStrict), R(4), U8(15), |
+ B(TestEqualStrict), R(4), U8(16), |
B(JumpIfFalse), U8(6), |
B(LdaSmi), U8(1), |
B(Star), R(4), |
@@ -358,24 +358,24 @@ bytecodes: [ |
B(CallRuntime), U16(Runtime::kInterpreterClearPendingMessage), R(0), U8(0), |
B(Star), R(11), |
B(LdaZero), |
- B(TestEqualStrict), R(4), U8(16), |
+ B(TestEqualStrict), R(4), U8(17), |
B(JumpIfTrue), U8(121), |
B(LdaUndefined), |
- B(TestEqualStrict), R(2), U8(17), |
+ B(TestEqualStrict), R(2), U8(18), |
B(JumpIfTrue), U8(115), |
- B(LdrNamedProperty), R(2), U8(7), U8(18), R(6), |
+ B(LdrNamedProperty), R(2), U8(7), U8(19), R(6), |
B(LdaNull), |
- B(TestEqual), R(6), U8(20), |
+ B(TestEqual), R(6), U8(21), |
B(JumpIfFalse), U8(4), |
B(Jump), U8(102), |
B(LdaSmi), U8(1), |
- B(TestEqualStrict), R(4), U8(21), |
+ B(TestEqualStrict), R(4), U8(22), |
B(JumpIfFalse), U8(70), |
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), U16(129), |
@@ -454,26 +454,26 @@ bytecodes: [ |
/* 77 S> */ B(CreateArrayLiteral), U8(1), U8(1), U8(1), |
B(Star), R(13), |
B(LdaConstant), U8(2), |
- /* 77 E> */ B(LdrKeyedProperty), R(13), U8(3), R(12), |
- /* 77 E> */ B(Call), R(12), R(13), U8(1), U8(1), |
+ /* 77 E> */ B(LdrKeyedProperty), R(13), U8(4), R(12), |
+ /* 77 E> */ B(Call), R(12), R(13), U8(1), U8(2), |
B(Star), R(1), |
- /* 74 S> */ B(LdrNamedProperty), R(1), U8(3), U8(7), R(13), |
- /* 74 E> */ B(Call), R(13), R(1), U8(1), U8(5), |
+ /* 74 S> */ B(LdrNamedProperty), R(1), U8(3), U8(8), R(13), |
+ /* 74 E> */ B(Call), R(13), R(1), U8(1), U8(6), |
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(9), |
+ B(LdaNamedProperty), R(2), U8(4), U8(10), |
B(JumpIfToBooleanTrue), U8(29), |
- /* 67 E> */ B(LdrNamedProperty), R(2), U8(5), U8(11), R(4), |
+ /* 67 E> */ B(LdrNamedProperty), R(2), U8(5), U8(12), R(4), |
B(LdaSmi), U8(2), |
B(Star), R(3), |
B(Ldar), R(4), |
- B(StaNamedPropertySloppy), R(0), U8(6), U8(13), |
+ B(StaNamedPropertySloppy), R(0), U8(6), U8(14), |
/* 62 E> */ B(StackCheck), |
/* 88 S> */ B(Nop), |
- /* 96 E> */ B(LdrNamedProperty), R(0), U8(6), U8(15), R(9), |
+ /* 96 E> */ B(LdrNamedProperty), R(0), U8(6), U8(16), R(9), |
B(LdaZero), |
B(Star), R(8), |
B(Jump), U8(51), |
@@ -484,7 +484,7 @@ bytecodes: [ |
B(Star), R(11), |
B(PushContext), R(7), |
B(LdaSmi), U8(2), |
- B(TestEqualStrict), R(3), U8(17), |
+ B(TestEqualStrict), R(3), U8(18), |
B(JumpIfFalse), U8(6), |
B(LdaSmi), U8(1), |
B(Star), R(3), |
@@ -500,24 +500,24 @@ bytecodes: [ |
B(CallRuntime), U16(Runtime::kInterpreterClearPendingMessage), R(0), U8(0), |
B(Star), R(10), |
B(LdaZero), |
- B(TestEqualStrict), R(3), U8(18), |
+ B(TestEqualStrict), R(3), U8(19), |
B(JumpIfTrue), U8(121), |
B(LdaUndefined), |
- B(TestEqualStrict), R(1), U8(19), |
+ B(TestEqualStrict), R(1), U8(20), |
B(JumpIfTrue), U8(115), |
- B(LdrNamedProperty), R(1), U8(9), U8(20), R(5), |
+ B(LdrNamedProperty), R(1), U8(9), U8(21), R(5), |
B(LdaNull), |
- B(TestEqual), R(5), U8(22), |
+ B(TestEqual), R(5), U8(23), |
B(JumpIfFalse), U8(4), |
B(Jump), U8(102), |
B(LdaSmi), U8(1), |
- B(TestEqualStrict), R(3), U8(23), |
+ B(TestEqualStrict), R(3), U8(24), |
B(JumpIfFalse), U8(70), |
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(25), |
B(JumpIfFalse), U8(4), |
B(Jump), U8(18), |
B(Wide), B(LdaSmi), U16(129), |