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 347b2e048096c75019fd911c21ebb6826e1e9aef..5b6fedb5ed9b92c4ff22738f471a6fec0448e810 100644 |
--- a/test/cctest/interpreter/bytecode_expectations/ClassDeclarations.golden |
+++ b/test/cctest/interpreter/bytecode_expectations/ClassDeclarations.golden |
@@ -14,7 +14,7 @@ snippet: " |
" |
frame size: 8 |
parameter count: 1 |
-bytecode array length: 72 |
+bytecode array length: 74 |
bytecodes: [ |
B(LdaTheHole), |
B(Star), R(2), |
@@ -23,7 +23,7 @@ bytecodes: [ |
B(Star), R(0), |
/* 34 S> */ B(LdaTheHole), |
B(Star), R(3), |
- B(CreateClosure), U8(0), U8(2), |
+ B(CreateClosure), U8(0), U8(2), U8(2), |
B(Star), R(4), |
B(LdaSmi), U8(34), |
B(Star), R(5), |
@@ -31,11 +31,11 @@ bytecodes: [ |
B(Star), R(6), |
B(CallRuntime), U16(Runtime::kDefineClass), R(3), U8(4), |
B(Star), R(3), |
- B(LdaNamedProperty), R(3), U8(1), U8(2), |
+ B(LdaNamedProperty), R(3), U8(1), U8(4), |
B(Star), R(4), |
B(LdaConstant), U8(2), |
B(ToName), R(6), |
- B(CreateClosure), U8(3), U8(2), |
+ B(CreateClosure), U8(3), U8(3), U8(2), |
B(Star), R(7), |
B(LdaSmi), U8(2), |
B(StaDataPropertyInLiteral), R(4), R(6), R(7), U8(1), |
@@ -65,7 +65,7 @@ snippet: " |
" |
frame size: 8 |
parameter count: 1 |
-bytecode array length: 72 |
+bytecode array length: 74 |
bytecodes: [ |
B(LdaTheHole), |
B(Star), R(2), |
@@ -74,7 +74,7 @@ bytecodes: [ |
B(Star), R(0), |
/* 34 S> */ B(LdaTheHole), |
B(Star), R(3), |
- B(CreateClosure), U8(0), U8(2), |
+ B(CreateClosure), U8(0), U8(2), U8(2), |
B(Star), R(4), |
B(LdaSmi), U8(34), |
B(Star), R(5), |
@@ -82,11 +82,11 @@ bytecodes: [ |
B(Star), R(6), |
B(CallRuntime), U16(Runtime::kDefineClass), R(3), U8(4), |
B(Star), R(3), |
- B(LdaNamedProperty), R(3), U8(1), U8(2), |
+ B(LdaNamedProperty), R(3), U8(1), U8(4), |
B(Star), R(4), |
B(LdaConstant), U8(2), |
B(ToName), R(6), |
- B(CreateClosure), U8(3), U8(2), |
+ B(CreateClosure), U8(3), U8(3), U8(2), |
B(Star), R(7), |
B(LdaSmi), U8(2), |
B(StaDataPropertyInLiteral), R(4), R(6), R(7), U8(1), |
@@ -118,7 +118,7 @@ snippet: " |
" |
frame size: 10 |
parameter count: 1 |
-bytecode array length: 115 |
+bytecode array length: 118 |
bytecodes: [ |
B(CreateFunctionContext), U8(2), |
B(PushContext), R(3), |
@@ -133,7 +133,7 @@ bytecodes: [ |
B(Star), R(0), |
/* 62 S> */ B(LdaTheHole), |
B(Star), R(4), |
- B(CreateClosure), U8(2), U8(2), |
+ B(CreateClosure), U8(2), U8(2), U8(2), |
B(Star), R(5), |
B(LdaSmi), U8(62), |
B(Star), R(6), |
@@ -141,11 +141,11 @@ bytecodes: [ |
B(Star), R(7), |
B(CallRuntime), U16(Runtime::kDefineClass), R(4), U8(4), |
B(Star), R(4), |
- B(LdaNamedProperty), R(4), U8(3), U8(2), |
+ B(LdaNamedProperty), R(4), U8(3), U8(5), |
B(Star), R(5), |
B(LdaCurrentContextSlot), U8(4), |
/* 75 E> */ B(ToName), R(7), |
- B(CreateClosure), U8(4), U8(2), |
+ B(CreateClosure), U8(4), U8(3), U8(2), |
B(Star), R(8), |
B(LdaSmi), U8(2), |
B(StaDataPropertyInLiteral), R(5), R(7), R(8), U8(3), |
@@ -157,7 +157,7 @@ bytecodes: [ |
B(Mov), R(4), R(6), |
B(JumpIfToBooleanFalse), U8(7), |
B(CallRuntime), U16(Runtime::kThrowStaticPrototypeError), R(0), U8(0), |
- B(CreateClosure), U8(5), U8(2), |
+ B(CreateClosure), U8(5), U8(4), U8(2), |
B(Star), R(8), |
B(StaDataPropertyInLiteral), R(6), R(7), R(8), U8(3), |
B(CallRuntime), U16(Runtime::kInstallClassNameAccessorWithCheck), R(4), U8(1), |
@@ -187,7 +187,7 @@ snippet: " |
" |
frame size: 8 |
parameter count: 1 |
-bytecode array length: 66 |
+bytecode array length: 67 |
bytecodes: [ |
B(CreateFunctionContext), U8(1), |
B(PushContext), R(3), |
@@ -200,7 +200,7 @@ bytecodes: [ |
B(Star), R(0), |
/* 49 S> */ B(LdaTheHole), |
B(Star), R(4), |
- B(CreateClosure), U8(0), U8(2), |
+ B(CreateClosure), U8(0), U8(2), U8(2), |
B(Star), R(5), |
B(LdaSmi), U8(49), |
B(Star), R(6), |
@@ -208,7 +208,7 @@ bytecodes: [ |
B(Star), R(7), |
B(CallRuntime), U16(Runtime::kDefineClass), R(4), U8(4), |
B(Star), R(4), |
- B(LdaNamedProperty), R(4), U8(1), U8(2), |
+ B(LdaNamedProperty), R(4), U8(1), U8(3), |
B(Star), R(5), |
B(CallRuntime), U16(Runtime::kInstallClassNameAccessor), R(4), U8(1), |
B(CallRuntime), U16(Runtime::kToFastProperties), R(4), U8(1), |
@@ -216,7 +216,7 @@ bytecodes: [ |
B(Star), R(1), |
B(Star), R(2), |
/* 87 S> */ B(Nop), |
- /* 94 E> */ B(New), R(2), R(0), U8(0), U8(4), |
+ /* 94 E> */ B(New), R(2), R(0), U8(0), U8(5), |
/* 103 S> */ B(Return), |
] |
constant pool: [ |
@@ -233,14 +233,14 @@ snippet: " |
" |
frame size: 9 |
parameter count: 1 |
-bytecode array length: 101 |
+bytecode array length: 104 |
bytecodes: [ |
B(LdaTheHole), |
B(Star), R(3), |
/* 30 E> */ B(StackCheck), |
/* 35 S> */ B(LdaTheHole), |
B(Star), R(4), |
- B(CreateClosure), U8(0), U8(2), |
+ B(CreateClosure), U8(0), U8(2), U8(2), |
B(Star), R(5), |
B(LdaSmi), U8(35), |
B(Star), R(6), |
@@ -248,7 +248,7 @@ bytecodes: [ |
B(Star), R(7), |
B(CallRuntime), U16(Runtime::kDefineClass), R(4), U8(4), |
B(Star), R(4), |
- B(LdaNamedProperty), R(4), U8(1), U8(2), |
+ B(LdaNamedProperty), R(4), U8(1), U8(3), |
B(Star), R(5), |
B(CallRuntime), U16(Runtime::kToFastProperties), R(4), U8(1), |
B(Star), R(1), |
@@ -256,7 +256,7 @@ bytecodes: [ |
B(Star), R(0), |
/* 45 S> */ B(LdaTheHole), |
B(Star), R(4), |
- B(CreateClosure), U8(2), U8(2), |
+ B(CreateClosure), U8(2), U8(5), U8(2), |
B(Star), R(5), |
B(LdaSmi), U8(45), |
B(Star), R(6), |
@@ -264,11 +264,11 @@ bytecodes: [ |
B(Star), R(7), |
B(CallRuntime), U16(Runtime::kDefineClass), R(4), U8(4), |
B(Star), R(4), |
- B(LdaNamedProperty), R(4), U8(1), U8(4), |
+ B(LdaNamedProperty), R(4), U8(1), U8(7), |
B(Star), R(5), |
B(LdaConstant), U8(3), |
B(ToName), R(7), |
- B(CreateClosure), U8(4), U8(2), |
+ B(CreateClosure), U8(4), U8(6), U8(2), |
B(Star), R(8), |
B(LdaSmi), U8(2), |
B(StaDataPropertyInLiteral), R(4), R(7), R(8), U8(1), |