| 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 bfb879b7f12931060d05649e3ee170ea3fcd12d3..d2d3fbcb3b0238909799d20f796acbef618b0e1b 100644
|
| --- a/test/cctest/interpreter/bytecode_expectations/ClassDeclarations.golden
|
| +++ b/test/cctest/interpreter/bytecode_expectations/ClassDeclarations.golden
|
| @@ -16,7 +16,7 @@ snippet: "
|
| "
|
| frame size: 9
|
| parameter count: 1
|
| -bytecode array length: 74
|
| +bytecode array length: 73
|
| bytecodes: [
|
| B(LdaTheHole),
|
| B(Star), R(1),
|
| @@ -33,9 +33,8 @@ bytecodes: [
|
| B(Star), R(5),
|
| B(CallRuntime), U16(Runtime::kDefineClass), R(2), U8(4),
|
| B(Star), R(2),
|
| - B(LdrNamedProperty), R(2), U8(1), U8(1), R(3),
|
| - B(Ldar), R(3),
|
| - B(Mov), R(3), R(4),
|
| + B(LdaNamedProperty), R(2), U8(1), U8(1),
|
| + B(Star), R(3),
|
| B(LdaConstant), U8(2),
|
| B(Star), R(5),
|
| B(CreateClosure), U8(3), U8(0),
|
| @@ -44,6 +43,7 @@ bytecodes: [
|
| B(Star), R(7),
|
| B(LdaZero),
|
| B(Star), R(8),
|
| + B(Mov), R(3), R(4),
|
| B(CallRuntime), U16(Runtime::kDefineDataPropertyInLiteral), R(4), U8(5),
|
| B(CallRuntime), U16(Runtime::kToFastProperties), R(2), U8(1),
|
| B(Star), R(0),
|
| @@ -69,7 +69,7 @@ snippet: "
|
| "
|
| frame size: 9
|
| parameter count: 1
|
| -bytecode array length: 74
|
| +bytecode array length: 73
|
| bytecodes: [
|
| B(LdaTheHole),
|
| B(Star), R(1),
|
| @@ -86,9 +86,8 @@ bytecodes: [
|
| B(Star), R(5),
|
| B(CallRuntime), U16(Runtime::kDefineClass), R(2), U8(4),
|
| B(Star), R(2),
|
| - B(LdrNamedProperty), R(2), U8(1), U8(1), R(3),
|
| - B(Ldar), R(3),
|
| - B(Mov), R(3), R(4),
|
| + B(LdaNamedProperty), R(2), U8(1), U8(1),
|
| + B(Star), R(3),
|
| B(LdaConstant), U8(2),
|
| B(Star), R(5),
|
| B(CreateClosure), U8(3), U8(0),
|
| @@ -97,6 +96,7 @@ bytecodes: [
|
| B(Star), R(7),
|
| B(LdaZero),
|
| B(Star), R(8),
|
| + B(Mov), R(3), R(4),
|
| B(CallRuntime), U16(Runtime::kDefineDataPropertyInLiteral), R(4), U8(5),
|
| B(CallRuntime), U16(Runtime::kToFastProperties), R(2), U8(1),
|
| B(Star), R(0),
|
| @@ -124,7 +124,7 @@ snippet: "
|
| "
|
| frame size: 10
|
| parameter count: 1
|
| -bytecode array length: 128
|
| +bytecode array length: 127
|
| bytecodes: [
|
| B(CallRuntime), U16(Runtime::kNewFunctionContext), R(closure), U8(1),
|
| B(PushContext), R(2),
|
| @@ -147,9 +147,8 @@ bytecodes: [
|
| B(Star), R(6),
|
| B(CallRuntime), U16(Runtime::kDefineClass), R(3), U8(4),
|
| B(Star), R(3),
|
| - B(LdrNamedProperty), R(3), U8(3), U8(1), R(4),
|
| - B(Ldar), R(4),
|
| - B(Mov), R(4), R(5),
|
| + B(LdaNamedProperty), R(3), U8(3), U8(1),
|
| + B(Star), R(4),
|
| /* 75 E> */ B(LdaContextSlot), R(context), U8(4),
|
| B(ToName),
|
| B(Star), R(6),
|
| @@ -159,14 +158,15 @@ bytecodes: [
|
| B(Star), R(8),
|
| B(LdaSmi), U8(1),
|
| B(Star), R(9),
|
| + B(Mov), R(4), R(5),
|
| B(CallRuntime), U16(Runtime::kDefineDataPropertyInLiteral), R(5), U8(5),
|
| - B(Mov), R(3), R(5),
|
| /* 106 E> */ B(LdaContextSlot), R(context), U8(5),
|
| B(ToName),
|
| B(Star), R(6),
|
| B(LdaConstant), U8(3),
|
| B(TestEqualStrict), R(6),
|
| - B(JumpIfFalse), U8(7),
|
| + B(Mov), R(3), R(5),
|
| + B(JumpIfToBooleanFalse), U8(7),
|
| B(CallRuntime), U16(Runtime::kThrowStaticPrototypeError), R(0), U8(0),
|
| B(CreateClosure), U8(5), U8(0),
|
| B(Star), R(7),
|
| @@ -198,7 +198,7 @@ snippet: "
|
| "
|
| frame size: 7
|
| parameter count: 1
|
| -bytecode array length: 73
|
| +bytecode array length: 74
|
| bytecodes: [
|
| B(CallRuntime), U16(Runtime::kNewFunctionContext), R(closure), U8(1),
|
| B(PushContext), R(2),
|
| @@ -219,7 +219,8 @@ bytecodes: [
|
| B(Star), R(6),
|
| B(CallRuntime), U16(Runtime::kDefineClass), R(3), U8(4),
|
| B(Star), R(3),
|
| - B(LdrNamedProperty), R(3), U8(1), U8(1), R(4),
|
| + B(LdaNamedProperty), R(3), U8(1), U8(1),
|
| + B(Star), R(4),
|
| B(CallRuntime), U16(Runtime::kToFastProperties), R(3), U8(1),
|
| B(Star), R(0),
|
| B(Star), R(1),
|
| @@ -227,8 +228,8 @@ bytecodes: [
|
| B(LdaConstant), U8(2),
|
| B(Star), R(4),
|
| B(CallRuntime), U16(Runtime::kThrowReferenceError), R(4), U8(1),
|
| - B(Star), R(3),
|
| - /* 94 E> */ B(New), R(3), R(0), U8(0),
|
| + /* 94 E> */ B(Star), R(3),
|
| + B(New), R(3), R(0), U8(0),
|
| /* 103 S> */ B(Return),
|
| ]
|
| constant pool: [
|
|
|