| 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 6947a27ff6701c6dc0f0243c47663aaa0a117f38..e7363a927ce2cc68d47b2d50daf8734269edc7cc 100644
|
| --- a/test/cctest/interpreter/bytecode_expectations/ClassDeclarations.golden
|
| +++ b/test/cctest/interpreter/bytecode_expectations/ClassDeclarations.golden
|
| @@ -33,9 +33,9 @@ bytecodes: [
|
| B(Star), R(5),
|
| B(CallRuntime), U16(Runtime::kDefineClass), R(2), U8(4),
|
| B(Star), R(2),
|
| - B(LoadIC), R(2), U8(1), U8(1),
|
| - B(Star), R(3),
|
| - B(Mov), R(3), R(4),
|
| + B(LdrNamedProperty), R(2), U8(1), U8(1), R(3),
|
| + B(Ldar), R(3),
|
| + B(Star), R(4),
|
| B(LdaConstant), U8(2),
|
| B(Star), R(5),
|
| B(CreateClosure), U8(3), U8(0),
|
| @@ -86,9 +86,9 @@ bytecodes: [
|
| B(Star), R(5),
|
| B(CallRuntime), U16(Runtime::kDefineClass), R(2), U8(4),
|
| B(Star), R(2),
|
| - B(LoadIC), R(2), U8(1), U8(1),
|
| - B(Star), R(3),
|
| - B(Mov), R(3), R(4),
|
| + B(LdrNamedProperty), R(2), U8(1), U8(1), R(3),
|
| + B(Ldar), R(3),
|
| + B(Star), R(4),
|
| B(LdaConstant), U8(2),
|
| B(Star), R(5),
|
| B(CreateClosure), U8(3), U8(0),
|
| @@ -147,9 +147,9 @@ bytecodes: [
|
| B(Star), R(6),
|
| B(CallRuntime), U16(Runtime::kDefineClass), R(3), U8(4),
|
| B(Star), R(3),
|
| - B(LoadIC), R(3), U8(3), U8(1),
|
| - B(Star), R(4),
|
| - B(Mov), R(4), R(5),
|
| + B(LdrNamedProperty), R(3), U8(3), U8(1), R(4),
|
| + B(Ldar), R(4),
|
| + B(Star), R(5),
|
| /* 75 E> */ B(LdaContextSlot), R(context), U8(4),
|
| B(ToName),
|
| B(Star), R(6),
|
| @@ -198,7 +198,7 @@ snippet: "
|
| "
|
| frame size: 7
|
| parameter count: 1
|
| -bytecode array length: 74
|
| +bytecode array length: 75
|
| bytecodes: [
|
| B(CallRuntime), U16(Runtime::kNewFunctionContext), R(closure), U8(1),
|
| B(PushContext), R(2),
|
| @@ -219,8 +219,7 @@ bytecodes: [
|
| B(Star), R(6),
|
| B(CallRuntime), U16(Runtime::kDefineClass), R(3), U8(4),
|
| B(Star), R(3),
|
| - B(LoadIC), R(3), U8(1), U8(1),
|
| - B(Star), R(4),
|
| + B(LdrNamedProperty), R(3), U8(1), U8(1), R(4),
|
| B(CallRuntime), U16(Runtime::kToFastProperties), R(3), U8(1),
|
| B(Star), R(0),
|
| /* 49 E> */ B(Star), R(1),
|
| @@ -229,7 +228,8 @@ bytecodes: [
|
| 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(Ldar), R(3),
|
| + B(New), R(3), R(0), U8(0),
|
| /* 103 S> */ B(Return),
|
| ]
|
| constant pool: [
|
|
|