| 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 50cd2040b24a3c78374e8fca023c72ba8bc85bb8..0a7b1ee004d4334e384eba474066428552c20218 100644
|
| --- a/test/cctest/interpreter/bytecode_expectations/ForOf.golden
|
| +++ b/test/cctest/interpreter/bytecode_expectations/ForOf.golden
|
| @@ -23,14 +23,14 @@ bytecodes: [
|
| B(Mov), R(context), R(12),
|
| /* 48 S> */ B(CreateArrayLiteral), U8(0), U8(0), U8(3),
|
| B(Star), R(14),
|
| - /* 48 E> */ B(LdaConstant), U8(1),
|
| - B(LdrKeyedProperty), R(14), U8(3), R(13),
|
| + 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(Star), R(1),
|
| + B(Star), R(1),
|
| /* 45 S> */ B(LdrNamedProperty), R(1), U8(2), U8(7), R(14),
|
| /* 45 E> */ B(Call), R(14), R(1), U8(1), U8(5),
|
| - /* 45 E> */ B(Star), R(2),
|
| - B(InvokeIntrinsic), U16(Runtime::k_IsJSReceiver), R(2), U8(1),
|
| + B(Star), R(2),
|
| + /* 45 E> */ B(InvokeIntrinsic), U16(Runtime::k_IsJSReceiver), R(2), U8(1),
|
| B(ToBooleanLogicalNot),
|
| B(JumpIfFalse), U8(7),
|
| B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R(2), U8(1),
|
| @@ -155,25 +155,24 @@ snippet: "
|
| "
|
| frame size: 17
|
| parameter count: 1
|
| -bytecode array length: 302
|
| +bytecode array length: 301
|
| bytecodes: [
|
| /* 30 E> */ B(StackCheck),
|
| /* 42 S> */ B(LdaConstant), U8(0),
|
| - /* 42 E> */ B(Star), R(7),
|
| + B(Star), R(7),
|
| B(LdrUndefined), R(4),
|
| B(LdaZero),
|
| B(Star), R(3),
|
| B(Mov), R(context), R(12),
|
| B(Mov), R(context), R(13),
|
| - /* 68 S> */ B(Nop),
|
| - /* 68 E> */ B(LdaConstant), U8(1),
|
| - B(LdrKeyedProperty), R(7), U8(3), R(14),
|
| + /* 68 S> */ B(LdaConstant), U8(1),
|
| + /* 68 E> */ B(LdrKeyedProperty), R(7), U8(3), R(14),
|
| /* 68 E> */ B(Call), R(14), R(7), U8(1), U8(1),
|
| - /* 68 E> */ B(Star), R(1),
|
| + B(Star), R(1),
|
| /* 65 S> */ B(LdrNamedProperty), R(1), U8(2), U8(7), R(15),
|
| /* 65 E> */ B(Call), R(15), R(1), U8(1), U8(5),
|
| - /* 65 E> */ B(Star), R(2),
|
| - B(InvokeIntrinsic), U16(Runtime::k_IsJSReceiver), R(2), U8(1),
|
| + B(Star), R(2),
|
| + /* 65 E> */ B(InvokeIntrinsic), U16(Runtime::k_IsJSReceiver), R(2), U8(1),
|
| B(ToBooleanLogicalNot),
|
| B(JumpIfFalse), U8(7),
|
| B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R(2), U8(1),
|
| @@ -293,9 +292,9 @@ constant pool: [
|
| InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE,
|
| ]
|
| handlers: [
|
| - [13, 127, 133],
|
| - [16, 86, 88],
|
| - [207, 218, 220],
|
| + [13, 126, 132],
|
| + [16, 85, 87],
|
| + [206, 217, 219],
|
| ]
|
|
|
| ---
|
| @@ -317,14 +316,14 @@ bytecodes: [
|
| B(Mov), R(context), R(12),
|
| /* 48 S> */ B(CreateArrayLiteral), U8(0), U8(0), U8(3),
|
| B(Star), R(14),
|
| - /* 48 E> */ B(LdaConstant), U8(1),
|
| - B(LdrKeyedProperty), R(14), U8(3), R(13),
|
| + 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(Star), R(1),
|
| + B(Star), R(1),
|
| /* 45 S> */ B(LdrNamedProperty), R(1), U8(2), U8(7), R(14),
|
| /* 45 E> */ B(Call), R(14), R(1), U8(1), U8(5),
|
| - /* 45 E> */ B(Star), R(2),
|
| - B(InvokeIntrinsic), U16(Runtime::k_IsJSReceiver), R(2), U8(1),
|
| + B(Star), R(2),
|
| + /* 45 E> */ B(InvokeIntrinsic), U16(Runtime::k_IsJSReceiver), R(2), U8(1),
|
| B(ToBooleanLogicalNot),
|
| B(JumpIfFalse), U8(7),
|
| B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R(2), U8(1),
|
| @@ -462,7 +461,7 @@ bytecodes: [
|
| /* 30 E> */ B(StackCheck),
|
| /* 42 S> */ B(CreateObjectLiteral), U8(0), U8(0), U8(1),
|
| B(Star), R(8),
|
| - /* 42 E> */ B(Star), R(6),
|
| + B(Star), R(6),
|
| B(LdrUndefined), R(3),
|
| B(LdaZero),
|
| B(Star), R(2),
|
| @@ -470,14 +469,14 @@ bytecodes: [
|
| B(Mov), R(context), R(11),
|
| /* 77 S> */ B(CreateArrayLiteral), U8(1), U8(1), U8(3),
|
| B(Star), R(13),
|
| - /* 77 E> */ B(LdaConstant), U8(2),
|
| - B(LdrKeyedProperty), R(13), U8(3), R(12),
|
| + 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(Star), R(0),
|
| + B(Star), R(0),
|
| /* 74 S> */ B(LdrNamedProperty), R(0), U8(3), U8(7), R(13),
|
| /* 74 E> */ B(Call), R(13), R(0), U8(1), U8(5),
|
| - /* 74 E> */ B(Star), R(1),
|
| - B(InvokeIntrinsic), U16(Runtime::k_IsJSReceiver), R(1), U8(1),
|
| + B(Star), R(1),
|
| + /* 74 E> */ B(InvokeIntrinsic), U16(Runtime::k_IsJSReceiver), R(1), U8(1),
|
| B(ToBooleanLogicalNot),
|
| B(JumpIfFalse), U8(7),
|
| B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R(1), U8(1),
|
|
|