| Index: test/cctest/interpreter/bytecode_expectations/ForIn.golden
|
| diff --git a/test/cctest/interpreter/bytecode_expectations/ForIn.golden b/test/cctest/interpreter/bytecode_expectations/ForIn.golden
|
| index 8bc9d2a33620858d809b8edd0ca30e946d6d6ec3..d2a0db77a37d291cb3caab6c48dfcb7599dc5587 100644
|
| --- a/test/cctest/interpreter/bytecode_expectations/ForIn.golden
|
| +++ b/test/cctest/interpreter/bytecode_expectations/ForIn.golden
|
| @@ -72,9 +72,8 @@ bytecodes: [
|
| B(Star), R(1),
|
| /* 68 S> */ B(JumpIfUndefined), U8(37),
|
| B(JumpIfNull), U8(35),
|
| - B(ToObject),
|
| - B(ForInPrepare), R(4),
|
| - B(Star), R(3),
|
| + B(ToObject), R(3),
|
| + B(ForInPrepare), R(3), R(4),
|
| B(LdaZero),
|
| B(Star), R(7),
|
| /* 63 S> */ B(ForInDone), R(7), R(6),
|
| @@ -113,9 +112,8 @@ bytecodes: [
|
| /* 59 S> */ B(CreateArrayLiteral), U8(0), U8(0), U8(3),
|
| B(JumpIfUndefined), U8(44),
|
| B(JumpIfNull), U8(42),
|
| - B(ToObject),
|
| - B(ForInPrepare), R(4),
|
| - B(Star), R(3),
|
| + B(ToObject), R(3),
|
| + B(ForInPrepare), R(3), R(4),
|
| B(LdaZero),
|
| B(Star), R(7),
|
| /* 54 S> */ B(ForInDone), R(7), R(6),
|
| @@ -160,9 +158,8 @@ bytecodes: [
|
| /* 77 S> */ B(CreateArrayLiteral), U8(1), U8(1), U8(3),
|
| B(JumpIfUndefined), U8(65),
|
| B(JumpIfNull), U8(63),
|
| - B(ToObject),
|
| - B(ForInPrepare), R(2),
|
| - B(Star), R(1),
|
| + B(ToObject), R(1),
|
| + B(ForInPrepare), R(1), R(2),
|
| B(LdaZero),
|
| B(Star), R(5),
|
| /* 68 S> */ B(ForInDone), R(5), R(4),
|
| @@ -213,9 +210,8 @@ bytecodes: [
|
| /* 72 S> */ B(CreateArrayLiteral), U8(1), U8(1), U8(3),
|
| B(JumpIfUndefined), U8(48),
|
| B(JumpIfNull), U8(46),
|
| - B(ToObject),
|
| - B(ForInPrepare), R(2),
|
| - B(Star), R(1),
|
| + B(ToObject), R(1),
|
| + B(ForInPrepare), R(1), R(2),
|
| B(LdaZero),
|
| B(Star), R(5),
|
| /* 65 S> */ B(ForInDone), R(5), R(4),
|
|
|