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 abc6594cf59215e9a94b263fcc090b537bea74f5..7b283024c87749965238c2c3fdf2b459d412e136 100644 |
--- a/test/cctest/interpreter/bytecode_expectations/ClassDeclarations.golden |
+++ b/test/cctest/interpreter/bytecode_expectations/ClassDeclarations.golden |
@@ -14,14 +14,14 @@ snippet: " |
" |
frame size: 9 |
parameter count: 1 |
-bytecode array length: 73 |
+bytecode array length: 75 |
bytecodes: [ |
B(LdaTheHole), |
B(Star), R(2), |
/* 30 E> */ B(StackCheck), |
B(LdaTheHole), |
B(Star), R(0), |
- /* 34 S> */ B(CreateClosure), U8(0), U8(2), |
+ /* 34 S> */ B(CreateClosure), U8(0), U8(2), U8(2), |
B(Star), R(3), |
B(LdaTheHole), |
B(Star), R(4), |
@@ -34,12 +34,12 @@ bytecodes: [ |
B(Star), R(4), |
B(LdaConstant), U8(1), |
B(Star), R(6), |
- B(CreateClosure), U8(2), U8(2), |
+ B(CreateClosure), U8(2), U8(3), U8(2), |
B(Star), R(7), |
B(LdaSmi), U8(2), |
B(Star), R(8), |
B(Ldar), R(7), |
- B(StaDataPropertyInLiteral), R(4), R(6), U8(1), U8(2), |
+ B(StaDataPropertyInLiteral), R(4), R(6), U8(1), U8(4), |
B(CallRuntime), U16(Runtime::kInstallClassNameAccessor), R(3), U8(1), |
B(CallRuntime), U16(Runtime::kToFastProperties), R(3), U8(1), |
B(Star), R(0), |
@@ -65,14 +65,14 @@ snippet: " |
" |
frame size: 9 |
parameter count: 1 |
-bytecode array length: 73 |
+bytecode array length: 75 |
bytecodes: [ |
B(LdaTheHole), |
B(Star), R(2), |
/* 30 E> */ B(StackCheck), |
B(LdaTheHole), |
B(Star), R(0), |
- /* 34 S> */ B(CreateClosure), U8(0), U8(2), |
+ /* 34 S> */ B(CreateClosure), U8(0), U8(2), U8(2), |
B(Star), R(3), |
B(LdaTheHole), |
B(Star), R(4), |
@@ -85,12 +85,12 @@ bytecodes: [ |
B(Star), R(4), |
B(LdaConstant), U8(1), |
B(Star), R(6), |
- B(CreateClosure), U8(2), U8(2), |
+ B(CreateClosure), U8(2), U8(3), U8(2), |
B(Star), R(7), |
B(LdaSmi), U8(2), |
B(Star), R(8), |
B(Ldar), R(7), |
- B(StaDataPropertyInLiteral), R(4), R(6), U8(1), U8(2), |
+ B(StaDataPropertyInLiteral), R(4), R(6), U8(1), U8(4), |
B(CallRuntime), U16(Runtime::kInstallClassNameAccessor), R(3), U8(1), |
B(CallRuntime), U16(Runtime::kToFastProperties), R(3), U8(1), |
B(Star), R(0), |
@@ -118,7 +118,7 @@ snippet: " |
" |
frame size: 10 |
parameter count: 1 |
-bytecode array length: 114 |
+bytecode array length: 117 |
bytecodes: [ |
B(CreateFunctionContext), U8(2), |
B(PushContext), R(3), |
@@ -131,7 +131,7 @@ bytecodes: [ |
/* 57 E> */ B(StaCurrentContextSlot), U8(5), |
B(LdaTheHole), |
B(Star), R(0), |
- /* 62 S> */ B(CreateClosure), U8(2), U8(2), |
+ /* 62 S> */ B(CreateClosure), U8(2), U8(2), U8(2), |
B(Star), R(4), |
B(LdaTheHole), |
B(Star), R(5), |
@@ -144,12 +144,12 @@ bytecodes: [ |
B(Star), R(5), |
B(LdaCurrentContextSlot), U8(4), |
/* 75 E> */ B(ToName), R(7), |
- B(CreateClosure), U8(3), U8(2), |
+ B(CreateClosure), U8(3), U8(3), U8(2), |
B(Star), R(8), |
B(LdaSmi), U8(2), |
B(Star), R(9), |
B(Ldar), R(8), |
- B(StaDataPropertyInLiteral), R(5), R(7), U8(3), U8(2), |
+ B(StaDataPropertyInLiteral), R(5), R(7), U8(3), U8(5), |
B(LdaCurrentContextSlot), U8(5), |
/* 106 E> */ B(ToName), R(7), |
B(LdaConstant), U8(4), |
@@ -157,9 +157,9 @@ 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), U8(3), U8(4), |
+ B(StaDataPropertyInLiteral), R(6), R(7), U8(3), U8(7), |
B(CallRuntime), U16(Runtime::kInstallClassNameAccessorWithCheck), R(4), U8(1), |
B(CallRuntime), U16(Runtime::kToFastProperties), R(4), U8(1), |
B(Star), R(0), |
@@ -187,7 +187,7 @@ snippet: " |
" |
frame size: 9 |
parameter count: 1 |
-bytecode array length: 63 |
+bytecode array length: 64 |
bytecodes: [ |
B(CreateFunctionContext), U8(1), |
B(PushContext), R(3), |
@@ -198,7 +198,7 @@ bytecodes: [ |
/* 46 E> */ B(StaCurrentContextSlot), U8(4), |
B(LdaTheHole), |
B(Star), R(0), |
- /* 49 S> */ B(CreateClosure), U8(0), U8(2), |
+ /* 49 S> */ B(CreateClosure), U8(0), U8(2), U8(2), |
B(Star), R(4), |
B(LdaTheHole), |
B(Star), R(5), |
@@ -215,7 +215,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(2), |
+ /* 94 E> */ B(New), R(2), R(0), U8(0), U8(3), |
/* 103 S> */ B(Return), |
] |
constant pool: [ |
@@ -231,12 +231,12 @@ snippet: " |
" |
frame size: 10 |
parameter count: 1 |
-bytecode array length: 99 |
+bytecode array length: 102 |
bytecodes: [ |
B(LdaTheHole), |
B(Star), R(3), |
/* 30 E> */ B(StackCheck), |
- /* 35 S> */ B(CreateClosure), U8(0), U8(2), |
+ /* 35 S> */ B(CreateClosure), U8(0), U8(2), U8(2), |
B(Star), R(4), |
B(LdaTheHole), |
B(Star), R(5), |
@@ -251,7 +251,7 @@ bytecodes: [ |
B(Star), R(1), |
B(LdaTheHole), |
B(Star), R(0), |
- /* 45 S> */ B(CreateClosure), U8(1), U8(2), |
+ /* 45 S> */ B(CreateClosure), U8(1), U8(3), U8(2), |
B(Star), R(4), |
B(LdaTheHole), |
B(Star), R(5), |
@@ -264,12 +264,12 @@ bytecodes: [ |
B(Star), R(5), |
B(LdaConstant), U8(2), |
B(Star), R(7), |
- B(CreateClosure), U8(3), U8(2), |
+ B(CreateClosure), U8(3), U8(4), U8(2), |
B(Star), R(8), |
B(LdaSmi), U8(2), |
B(Star), R(9), |
B(Ldar), R(8), |
- B(StaDataPropertyInLiteral), R(6), R(7), U8(1), U8(2), |
+ B(StaDataPropertyInLiteral), R(6), R(7), U8(1), U8(5), |
B(CallRuntime), U16(Runtime::kToFastProperties), R(4), U8(1), |
B(Star), R(0), |
B(Star), R(2), |