Index: test/cctest/interpreter/bytecode_expectations/LookupSlot.golden |
diff --git a/test/cctest/interpreter/bytecode_expectations/LookupSlot.golden b/test/cctest/interpreter/bytecode_expectations/LookupSlot.golden |
index 77ff808468321af6384de1a9bad57eac3daea0fc..8e36d68d63ddeb6c1fe12f007c41ab295acc82d0 100644 |
--- a/test/cctest/interpreter/bytecode_expectations/LookupSlot.golden |
+++ b/test/cctest/interpreter/bytecode_expectations/LookupSlot.golden |
@@ -12,16 +12,16 @@ snippet: " |
" |
frame size: 10 |
parameter count: 1 |
-bytecode array length: 73 |
+bytecode array length: 67 |
bytecodes: [ |
B(CreateFunctionContext), U8(3), |
B(PushContext), R(0), |
B(Ldar), R(this), |
- B(StaContextSlot), R(context), U8(4), U8(0), |
+ B(StaCurrentContextSlot), U8(4), |
B(CreateMappedArguments), |
- B(StaContextSlot), R(context), U8(6), U8(0), |
+ B(StaCurrentContextSlot), U8(6), |
B(Ldar), R(new_target), |
- B(StaContextSlot), R(context), U8(5), U8(0), |
+ B(StaCurrentContextSlot), U8(5), |
/* 10 E> */ B(StackCheck), |
/* 14 S> */ B(LdaConstant), U8(0), |
B(Star), R(4), |
@@ -57,16 +57,16 @@ snippet: " |
" |
frame size: 10 |
parameter count: 1 |
-bytecode array length: 74 |
+bytecode array length: 68 |
bytecodes: [ |
B(CreateFunctionContext), U8(3), |
B(PushContext), R(0), |
B(Ldar), R(this), |
- B(StaContextSlot), R(context), U8(4), U8(0), |
+ B(StaCurrentContextSlot), U8(4), |
B(CreateMappedArguments), |
- B(StaContextSlot), R(context), U8(6), U8(0), |
+ B(StaCurrentContextSlot), U8(6), |
B(Ldar), R(new_target), |
- B(StaContextSlot), R(context), U8(5), U8(0), |
+ B(StaCurrentContextSlot), U8(5), |
/* 10 E> */ B(StackCheck), |
/* 14 S> */ B(LdaConstant), U8(0), |
B(Star), R(4), |
@@ -103,16 +103,16 @@ snippet: " |
" |
frame size: 10 |
parameter count: 1 |
-bytecode array length: 73 |
+bytecode array length: 67 |
bytecodes: [ |
B(CreateFunctionContext), U8(3), |
B(PushContext), R(0), |
B(Ldar), R(this), |
- B(StaContextSlot), R(context), U8(4), U8(0), |
+ B(StaCurrentContextSlot), U8(4), |
B(CreateMappedArguments), |
- B(StaContextSlot), R(context), U8(6), U8(0), |
+ B(StaCurrentContextSlot), U8(6), |
B(Ldar), R(new_target), |
- B(StaContextSlot), R(context), U8(5), U8(0), |
+ B(StaCurrentContextSlot), U8(5), |
/* 10 E> */ B(StackCheck), |
/* 14 S> */ B(LdaSmi), U8(20), |
/* 16 E> */ B(StaLookupSlotSloppy), U8(0), |
@@ -154,16 +154,16 @@ snippet: " |
" |
frame size: 10 |
parameter count: 1 |
-bytecode array length: 73 |
+bytecode array length: 67 |
bytecodes: [ |
B(CreateFunctionContext), U8(3), |
B(PushContext), R(0), |
B(Ldar), R(this), |
- B(StaContextSlot), R(context), U8(4), U8(0), |
+ B(StaCurrentContextSlot), U8(4), |
B(CreateMappedArguments), |
- B(StaContextSlot), R(context), U8(6), U8(0), |
+ B(StaCurrentContextSlot), U8(6), |
B(Ldar), R(new_target), |
- B(StaContextSlot), R(context), U8(5), U8(0), |
+ B(StaCurrentContextSlot), U8(5), |
/* 38 E> */ B(StackCheck), |
/* 44 S> */ B(LdaConstant), U8(0), |
B(Star), R(4), |
@@ -204,16 +204,16 @@ snippet: " |
" |
frame size: 10 |
parameter count: 1 |
-bytecode array length: 73 |
+bytecode array length: 67 |
bytecodes: [ |
B(CreateFunctionContext), U8(3), |
B(PushContext), R(0), |
B(Ldar), R(this), |
- B(StaContextSlot), R(context), U8(4), U8(0), |
+ B(StaCurrentContextSlot), U8(4), |
B(CreateMappedArguments), |
- B(StaContextSlot), R(context), U8(6), U8(0), |
+ B(StaCurrentContextSlot), U8(6), |
B(Ldar), R(new_target), |
- B(StaContextSlot), R(context), U8(5), U8(0), |
+ B(StaCurrentContextSlot), U8(5), |
/* 34 E> */ B(StackCheck), |
/* 40 S> */ B(LdaConstant), U8(0), |
B(Star), R(4), |