| Index: test/cctest/interpreter/bytecode_expectations/ClassDeclarations.golden
|
| diff --git a/test/cctest/interpreter/bytecode_expectations/ClassDeclarations.golden b/test/cctest/interpreter/bytecode_expectations/ClassDeclarations.golden
|
| index 765ce65efdaade6f0f50aff7a3a058221ca15681..6f2bf4570e5e6c2ad04420f7b4e6e36c932566f7 100644
|
| --- a/test/cctest/interpreter/bytecode_expectations/ClassDeclarations.golden
|
| +++ b/test/cctest/interpreter/bytecode_expectations/ClassDeclarations.golden
|
| @@ -12,9 +12,9 @@ snippet: "
|
| speak() { console.log(this.name + ' is speaking.'); }
|
| }
|
| "
|
| -frame size: 10
|
| +frame size: 9
|
| parameter count: 1
|
| -bytecode array length: 75
|
| +bytecode array length: 70
|
| bytecodes: [
|
| B(LdaTheHole),
|
| B(Star), R(2),
|
| @@ -40,9 +40,7 @@ bytecodes: [
|
| B(LdaSmi), U8(2),
|
| B(Star), R(8),
|
| B(LdaZero),
|
| - B(Star), R(9),
|
| - B(Mov), R(4), R(5),
|
| - B(CallRuntime), U16(Runtime::kDefineDataPropertyInLiteral), R(5), U8(5),
|
| + B(StaDataPropertyInLiteral), R(4), R(6), R(7), R(8),
|
| B(CallRuntime), U16(Runtime::kToFastProperties), R(3), U8(1),
|
| B(Star), R(0),
|
| B(Star), R(1),
|
| @@ -66,9 +64,9 @@ snippet: "
|
| speak() { console.log(this.name + ' is speaking.'); }
|
| }
|
| "
|
| -frame size: 10
|
| +frame size: 9
|
| parameter count: 1
|
| -bytecode array length: 75
|
| +bytecode array length: 70
|
| bytecodes: [
|
| B(LdaTheHole),
|
| B(Star), R(2),
|
| @@ -94,9 +92,7 @@ bytecodes: [
|
| B(LdaSmi), U8(2),
|
| B(Star), R(8),
|
| B(LdaZero),
|
| - B(Star), R(9),
|
| - B(Mov), R(4), R(5),
|
| - B(CallRuntime), U16(Runtime::kDefineDataPropertyInLiteral), R(5), U8(5),
|
| + B(StaDataPropertyInLiteral), R(4), R(6), R(7), R(8),
|
| B(CallRuntime), U16(Runtime::kToFastProperties), R(3), U8(1),
|
| B(Star), R(0),
|
| B(Star), R(1),
|
| @@ -122,9 +118,9 @@ snippet: "
|
| static [n1]() { return n1; }
|
| }
|
| "
|
| -frame size: 11
|
| +frame size: 10
|
| parameter count: 1
|
| -bytecode array length: 121
|
| +bytecode array length: 114
|
| bytecodes: [
|
| B(CreateFunctionContext), U8(2),
|
| B(PushContext), R(3),
|
| @@ -156,9 +152,7 @@ bytecodes: [
|
| B(LdaSmi), U8(2),
|
| B(Star), R(9),
|
| B(LdaSmi), U8(1),
|
| - B(Star), R(10),
|
| - B(Mov), R(5), R(6),
|
| - B(CallRuntime), U16(Runtime::kDefineDataPropertyInLiteral), R(6), U8(5),
|
| + B(StaDataPropertyInLiteral), R(5), R(7), R(8), R(9),
|
| B(LdaCurrentContextSlot), U8(5),
|
| /* 106 E> */ B(ToName), R(7),
|
| B(LdaConstant), U8(3),
|
| @@ -169,8 +163,7 @@ bytecodes: [
|
| B(CreateClosure), U8(5), U8(2),
|
| B(Star), R(8),
|
| B(LdaSmi), U8(1),
|
| - B(Star), R(10),
|
| - B(CallRuntime), U16(Runtime::kDefineDataPropertyInLiteral), R(6), U8(5),
|
| + B(StaDataPropertyInLiteral), R(6), R(7), R(8), R(9),
|
| B(CallRuntime), U16(Runtime::kToFastProperties), R(4), U8(1),
|
| B(Star), R(0),
|
| B(Star), R(1),
|
|
|