| 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..e032b765907b2973e5955bed059d175fed1b4d5e 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: 73
|
| +bytecode array length: 74
|
| bytecodes: [
|
| B(LdaTheHole),
|
| B(Star), R(1),
|
| @@ -33,8 +33,8 @@ 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(LdrNamedProperty), R(2), U8(1), U8(1), R(3),
|
| + B(Ldar), R(3),
|
| B(Mov), R(3), R(4),
|
| B(LdaConstant), U8(2),
|
| B(Star), R(5),
|
| @@ -69,7 +69,7 @@ snippet: "
|
| "
|
| frame size: 9
|
| parameter count: 1
|
| -bytecode array length: 73
|
| +bytecode array length: 74
|
| bytecodes: [
|
| B(LdaTheHole),
|
| B(Star), R(1),
|
| @@ -86,8 +86,8 @@ 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(LdrNamedProperty), R(2), U8(1), U8(1), R(3),
|
| + B(Ldar), R(3),
|
| B(Mov), R(3), R(4),
|
| B(LdaConstant), U8(2),
|
| B(Star), R(5),
|
| @@ -124,7 +124,7 @@ snippet: "
|
| "
|
| frame size: 10
|
| parameter count: 1
|
| -bytecode array length: 127
|
| +bytecode array length: 128
|
| bytecodes: [
|
| B(CallRuntime), U16(Runtime::kNewFunctionContext), R(closure), U8(1),
|
| B(PushContext), R(2),
|
| @@ -147,8 +147,8 @@ 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(LdrNamedProperty), R(3), U8(3), U8(1), R(4),
|
| + B(Ldar), R(4),
|
| B(Mov), R(4), R(5),
|
| /* 75 E> */ B(LdaContextSlot), R(context), U8(4),
|
| B(ToName),
|
| @@ -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: [
|
|
|