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 ed1c90becfdd286ed455dd26eae5b57b839f03b1..ade9bb34f96b087a0c458f1c0a1d93fc72c4b1c9 100644 |
--- a/test/cctest/interpreter/bytecode_expectations/ClassDeclarations.golden |
+++ b/test/cctest/interpreter/bytecode_expectations/ClassDeclarations.golden |
@@ -18,38 +18,38 @@ frame size: 9 |
parameter count: 1 |
bytecode array length: 73 |
bytecodes: [ |
- B(LdaTheHole), |
- B(Star), R(1), |
- B(StackCheck), |
- B(LdaTheHole), |
- B(Star), R(0), |
- B(LdaTheHole), |
- B(Star), R(2), |
- B(CreateClosure), U8(0), U8(0), |
- B(Star), R(3), |
- B(LdaSmi), U8(34), |
- B(Star), R(4), |
- B(Wide), B(LdaSmi), U16(148), |
- 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(LdaConstant), U8(2), |
- B(Star), R(5), |
- B(CreateClosure), U8(3), U8(0), |
- B(Star), R(6), |
- B(LdaSmi), U8(2), |
- B(Star), R(7), |
- B(LdaZero), |
- B(Star), R(8), |
- B(CallRuntime), U16(Runtime::kDefineDataPropertyInLiteral), R(4), U8(5), |
- B(CallRuntime), U16(Runtime::kToFastProperties), R(2), U8(1), |
- B(Star), R(0), |
- B(Star), R(1), |
- B(LdaUndefined), |
- B(Return), |
+ B(LdaTheHole), |
+ B(Star), R(1), |
+ /* 30 E> */ B(StackCheck), |
+ B(LdaTheHole), |
+ B(Star), R(0), |
+ B(LdaTheHole), |
+ B(Star), R(2), |
+ B(CreateClosure), U8(0), U8(0), |
+ B(Star), R(3), |
+ B(LdaSmi), U8(34), |
+ B(Star), R(4), |
+ B(Wide), B(LdaSmi), U16(148), |
+ 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(LdaConstant), U8(2), |
+ B(Star), R(5), |
+ B(CreateClosure), U8(3), U8(0), |
+ B(Star), R(6), |
+ B(LdaSmi), U8(2), |
+ B(Star), R(7), |
+ B(LdaZero), |
+ B(Star), R(8), |
+ B(CallRuntime), U16(Runtime::kDefineDataPropertyInLiteral), R(4), U8(5), |
+ B(CallRuntime), U16(Runtime::kToFastProperties), R(2), U8(1), |
+ B(Star), R(0), |
+ /* 34 E> */ B(Star), R(1), |
+ B(LdaUndefined), |
+ /* 149 S> */ B(Return), |
] |
constant pool: [ |
InstanceType::SHARED_FUNCTION_INFO_TYPE, |
@@ -71,38 +71,38 @@ frame size: 9 |
parameter count: 1 |
bytecode array length: 73 |
bytecodes: [ |
- B(LdaTheHole), |
- B(Star), R(1), |
- B(StackCheck), |
- B(LdaTheHole), |
- B(Star), R(0), |
- B(LdaTheHole), |
- B(Star), R(2), |
- B(CreateClosure), U8(0), U8(0), |
- B(Star), R(3), |
- B(LdaSmi), U8(34), |
- B(Star), R(4), |
- B(Wide), B(LdaSmi), U16(148), |
- 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(LdaConstant), U8(2), |
- B(Star), R(5), |
- B(CreateClosure), U8(3), U8(0), |
- B(Star), R(6), |
- B(LdaSmi), U8(2), |
- B(Star), R(7), |
- B(LdaZero), |
- B(Star), R(8), |
- B(CallRuntime), U16(Runtime::kDefineDataPropertyInLiteral), R(4), U8(5), |
- B(CallRuntime), U16(Runtime::kToFastProperties), R(2), U8(1), |
- B(Star), R(0), |
- B(Star), R(1), |
- B(LdaUndefined), |
- B(Return), |
+ B(LdaTheHole), |
+ B(Star), R(1), |
+ /* 30 E> */ B(StackCheck), |
+ B(LdaTheHole), |
+ B(Star), R(0), |
+ B(LdaTheHole), |
+ B(Star), R(2), |
+ B(CreateClosure), U8(0), U8(0), |
+ B(Star), R(3), |
+ B(LdaSmi), U8(34), |
+ B(Star), R(4), |
+ B(Wide), B(LdaSmi), U16(148), |
+ 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(LdaConstant), U8(2), |
+ B(Star), R(5), |
+ B(CreateClosure), U8(3), U8(0), |
+ B(Star), R(6), |
+ B(LdaSmi), U8(2), |
+ B(Star), R(7), |
+ B(LdaZero), |
+ B(Star), R(8), |
+ B(CallRuntime), U16(Runtime::kDefineDataPropertyInLiteral), R(4), U8(5), |
+ B(CallRuntime), U16(Runtime::kToFastProperties), R(2), U8(1), |
+ B(Star), R(0), |
+ /* 34 E> */ B(Star), R(1), |
+ B(LdaUndefined), |
+ /* 149 S> */ B(Return), |
] |
constant pool: [ |
InstanceType::SHARED_FUNCTION_INFO_TYPE, |
@@ -126,58 +126,58 @@ frame size: 10 |
parameter count: 1 |
bytecode array length: 127 |
bytecodes: [ |
- B(CallRuntime), U16(Runtime::kNewFunctionContext), R(closure), U8(1), |
- B(PushContext), R(2), |
- B(LdaTheHole), |
- B(Star), R(1), |
- B(StackCheck), |
- B(LdaConstant), U8(0), |
- B(StaContextSlot), R(context), U8(4), |
- B(LdaConstant), U8(1), |
- B(StaContextSlot), R(context), U8(5), |
- B(LdaTheHole), |
- B(Star), R(0), |
- B(LdaTheHole), |
- B(Star), R(3), |
- B(CreateClosure), U8(2), U8(0), |
- B(Star), R(4), |
- B(LdaSmi), U8(62), |
- B(Star), R(5), |
- B(Wide), B(LdaSmi), U16(128), |
- 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(LdaContextSlot), R(context), U8(4), |
- B(ToName), |
- B(Star), R(6), |
- B(CreateClosure), U8(4), U8(0), |
- B(Star), R(7), |
- B(LdaSmi), U8(2), |
- B(Star), R(8), |
- B(LdaSmi), U8(1), |
- B(Star), R(9), |
- B(CallRuntime), U16(Runtime::kDefineDataPropertyInLiteral), R(5), U8(5), |
- B(Mov), R(3), R(5), |
- 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(CallRuntime), U16(Runtime::kThrowStaticPrototypeError), R(0), U8(0), |
- B(CreateClosure), U8(5), U8(0), |
- B(Star), R(7), |
- B(LdaSmi), U8(1), |
- B(Star), R(9), |
- B(CallRuntime), U16(Runtime::kDefineDataPropertyInLiteral), R(5), U8(5), |
- B(CallRuntime), U16(Runtime::kToFastProperties), R(3), U8(1), |
- B(Star), R(0), |
- B(Star), R(1), |
- B(LdaUndefined), |
- B(Return), |
+ B(CallRuntime), U16(Runtime::kNewFunctionContext), R(closure), U8(1), |
+ B(PushContext), R(2), |
+ B(LdaTheHole), |
+ B(Star), R(1), |
+ /* 30 E> */ B(StackCheck), |
+ /* 43 S> */ B(LdaConstant), U8(0), |
+ /* 43 E> */ B(StaContextSlot), R(context), U8(4), |
+ /* 57 S> */ B(LdaConstant), U8(1), |
+ /* 57 E> */ B(StaContextSlot), R(context), U8(5), |
+ B(LdaTheHole), |
+ B(Star), R(0), |
+ B(LdaTheHole), |
+ B(Star), R(3), |
+ B(CreateClosure), U8(2), U8(0), |
+ B(Star), R(4), |
+ B(LdaSmi), U8(62), |
+ B(Star), R(5), |
+ B(Wide), B(LdaSmi), U16(128), |
+ 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), |
+ /* 75 E> */ B(LdaContextSlot), R(context), U8(4), |
+ B(ToName), |
+ B(Star), R(6), |
+ B(CreateClosure), U8(4), U8(0), |
+ B(Star), R(7), |
+ B(LdaSmi), U8(2), |
+ B(Star), R(8), |
+ B(LdaSmi), U8(1), |
+ B(Star), R(9), |
+ 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(CallRuntime), U16(Runtime::kThrowStaticPrototypeError), R(0), U8(0), |
+ B(CreateClosure), U8(5), U8(0), |
+ B(Star), R(7), |
+ B(LdaSmi), U8(1), |
+ B(Star), R(9), |
+ B(CallRuntime), U16(Runtime::kDefineDataPropertyInLiteral), R(5), U8(5), |
+ B(CallRuntime), U16(Runtime::kToFastProperties), R(3), U8(1), |
+ B(Star), R(0), |
+ /* 62 E> */ B(Star), R(1), |
+ B(LdaUndefined), |
+ /* 129 S> */ B(Return), |
] |
constant pool: [ |
InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
@@ -200,37 +200,37 @@ frame size: 10 |
parameter count: 1 |
bytecode array length: 74 |
bytecodes: [ |
- B(CallRuntime), U16(Runtime::kNewFunctionContext), R(closure), U8(1), |
- B(PushContext), R(2), |
- B(LdaTheHole), |
- B(Star), R(1), |
- B(StackCheck), |
- B(LdaZero), |
- B(StaContextSlot), R(context), U8(4), |
- B(LdaTheHole), |
- B(Star), R(0), |
- B(LdaTheHole), |
- B(Star), R(3), |
- B(CreateClosure), U8(0), U8(0), |
- B(Star), R(4), |
- B(LdaSmi), U8(49), |
- B(Star), R(5), |
- B(LdaSmi), U8(86), |
- 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(CallRuntime), U16(Runtime::kToFastProperties), R(3), U8(1), |
- B(Star), R(0), |
- B(Star), R(1), |
- B(JumpIfNotHole), U8(11), |
- B(LdaConstant), U8(2), |
- B(Star), R(4), |
- B(CallRuntime), U16(Runtime::kThrowReferenceError), R(4), U8(1), |
- B(Star), R(3), |
- B(New), R(3), R(0), U8(0), |
- B(Return), |
+ B(CallRuntime), U16(Runtime::kNewFunctionContext), R(closure), U8(1), |
+ B(PushContext), R(2), |
+ B(LdaTheHole), |
+ B(Star), R(1), |
+ /* 30 E> */ B(StackCheck), |
+ /* 46 S> */ B(LdaZero), |
+ /* 46 E> */ B(StaContextSlot), R(context), U8(4), |
+ B(LdaTheHole), |
+ B(Star), R(0), |
+ B(LdaTheHole), |
+ B(Star), R(3), |
+ B(CreateClosure), U8(0), U8(0), |
+ B(Star), R(4), |
+ B(LdaSmi), U8(49), |
+ B(Star), R(5), |
+ B(LdaSmi), U8(86), |
+ 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(CallRuntime), U16(Runtime::kToFastProperties), R(3), U8(1), |
+ B(Star), R(0), |
+ /* 49 E> */ B(Star), R(1), |
+ /* 87 S> */ B(JumpIfNotHole), U8(11), |
+ 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), |
+ /* 103 S> */ B(Return), |
] |
constant pool: [ |
InstanceType::SHARED_FUNCTION_INFO_TYPE, |