Index: test/cctest/interpreter/bytecode_expectations/CountOperators.golden |
diff --git a/test/cctest/interpreter/bytecode_expectations/CountOperators.golden b/test/cctest/interpreter/bytecode_expectations/CountOperators.golden |
index 29e0ec358248e3da01641c002d8a5a2e43eac81d..5683eb7a071a3a0319f62ddf5857dd78fa46df6a 100644 |
--- a/test/cctest/interpreter/bytecode_expectations/CountOperators.golden |
+++ b/test/cctest/interpreter/bytecode_expectations/CountOperators.golden |
@@ -197,18 +197,18 @@ snippet: " |
" |
frame size: 2 |
parameter count: 1 |
-bytecode array length: 27 |
+bytecode array length: 21 |
bytecodes: [ |
B(CreateFunctionContext), U8(1), |
B(PushContext), R(1), |
/* 30 E> */ B(StackCheck), |
/* 42 S> */ B(LdaSmi), U8(1), |
- /* 42 E> */ B(StaContextSlot), R(context), U8(4), U8(0), |
+ /* 42 E> */ B(StaCurrentContextSlot), U8(4), |
/* 53 S> */ B(CreateClosure), U8(0), U8(2), |
B(Star), R(0), |
- /* 78 S> */ B(LdaContextSlot), R(context), U8(4), U8(0), |
+ /* 78 S> */ B(LdaCurrentContextSlot), U8(4), |
B(Inc), U8(2), |
- /* 87 E> */ B(StaContextSlot), R(context), U8(4), U8(0), |
+ /* 87 E> */ B(StaCurrentContextSlot), U8(4), |
/* 90 S> */ B(Return), |
] |
constant pool: [ |
@@ -223,19 +223,19 @@ snippet: " |
" |
frame size: 3 |
parameter count: 1 |
-bytecode array length: 31 |
+bytecode array length: 25 |
bytecodes: [ |
B(CreateFunctionContext), U8(1), |
B(PushContext), R(1), |
/* 30 E> */ B(StackCheck), |
/* 42 S> */ B(LdaSmi), U8(1), |
- /* 42 E> */ B(StaContextSlot), R(context), U8(4), U8(0), |
+ /* 42 E> */ B(StaCurrentContextSlot), U8(4), |
/* 53 S> */ B(CreateClosure), U8(0), U8(2), |
B(Star), R(0), |
- /* 78 S> */ B(LdaContextSlot), R(context), U8(4), U8(0), |
+ /* 78 S> */ B(LdaCurrentContextSlot), U8(4), |
B(ToNumber), R(2), |
B(Dec), U8(2), |
- /* 86 E> */ B(StaContextSlot), R(context), U8(4), U8(0), |
+ /* 86 E> */ B(StaCurrentContextSlot), U8(4), |
B(Ldar), R(2), |
/* 90 S> */ B(Return), |
] |