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 0542892d4d25224f6e5fcd46f0dcdb38af35bd47..62d08f57da9a3626c568b889d4f8e13b61e7f4ff 100644 |
--- a/test/cctest/interpreter/bytecode_expectations/ClassDeclarations.golden |
+++ b/test/cctest/interpreter/bytecode_expectations/ClassDeclarations.golden |
@@ -122,7 +122,7 @@ snippet: " |
" |
frame size: 11 |
parameter count: 1 |
-bytecode array length: 128 |
+bytecode array length: 120 |
bytecodes: [ |
B(CreateFunctionContext), U8(2), |
B(PushContext), R(3), |
@@ -130,9 +130,9 @@ bytecodes: [ |
B(Star), R(2), |
/* 30 E> */ B(StackCheck), |
/* 43 S> */ B(LdaConstant), U8(0), |
- /* 43 E> */ B(StaContextSlot), R(context), U8(4), U8(0), |
+ /* 43 E> */ B(StaCurrentContextSlot), U8(4), |
/* 57 S> */ B(LdaConstant), U8(1), |
- /* 57 E> */ B(StaContextSlot), R(context), U8(5), U8(0), |
+ /* 57 E> */ B(StaCurrentContextSlot), U8(5), |
B(LdaTheHole), |
B(Star), R(0), |
/* 62 S> */ B(LdaTheHole), |
@@ -146,7 +146,7 @@ bytecodes: [ |
B(CallRuntime), U16(Runtime::kDefineClass), R(4), U8(4), |
B(Star), R(4), |
B(LdrNamedProperty), R(4), U8(3), U8(2), R(5), |
- /* 75 E> */ B(LdaContextSlot), R(context), U8(4), U8(0), |
+ /* 75 E> */ B(LdaCurrentContextSlot), U8(4), |
B(ToName), R(7), |
B(CreateClosure), U8(4), U8(2), |
B(Star), R(8), |
@@ -156,7 +156,7 @@ bytecodes: [ |
B(Star), R(10), |
B(Mov), R(5), R(6), |
B(CallRuntime), U16(Runtime::kDefineDataPropertyInLiteral), R(6), U8(5), |
- /* 106 E> */ B(LdaContextSlot), R(context), U8(5), U8(0), |
+ /* 106 E> */ B(LdaCurrentContextSlot), U8(5), |
B(ToName), R(7), |
B(LdaConstant), U8(3), |
B(TestEqualStrict), R(7), U8(0), |
@@ -194,7 +194,7 @@ snippet: " |
" |
frame size: 8 |
parameter count: 1 |
-bytecode array length: 62 |
+bytecode array length: 60 |
bytecodes: [ |
B(CreateFunctionContext), U8(1), |
B(PushContext), R(3), |
@@ -202,7 +202,7 @@ bytecodes: [ |
B(Star), R(2), |
/* 30 E> */ B(StackCheck), |
/* 46 S> */ B(LdaZero), |
- /* 46 E> */ B(StaContextSlot), R(context), U8(4), U8(0), |
+ /* 46 E> */ B(StaCurrentContextSlot), U8(4), |
B(LdaTheHole), |
B(Star), R(0), |
/* 49 S> */ B(LdaTheHole), |