Index: test/cctest/interpreter/bytecode_expectations/BasicLoops.golden |
diff --git a/test/cctest/interpreter/bytecode_expectations/BasicLoops.golden b/test/cctest/interpreter/bytecode_expectations/BasicLoops.golden |
index 4f0152b75008413157304cdd0453ef7d4beb6c90..1cbd05fcea8a5f3eb550caf512f2e2dca4c09475 100644 |
--- a/test/cctest/interpreter/bytecode_expectations/BasicLoops.golden |
+++ b/test/cctest/interpreter/bytecode_expectations/BasicLoops.golden |
@@ -679,34 +679,34 @@ snippet: " |
" |
frame size: 4 |
parameter count: 1 |
-bytecode array length: 63 |
+bytecode array length: 53 |
bytecodes: [ |
/* 30 E> */ B(StackCheck), |
/* 42 S> */ B(LdaZero), |
B(Star), R(1), |
/* 52 S> */ B(Ldar), R(1), |
- B(JumpIfToBooleanFalse), U8(55), |
+ B(JumpIfToBooleanFalse), U8(45), |
/* 45 E> */ B(StackCheck), |
B(Ldar), R(closure), |
B(CreateBlockContext), U8(0), |
B(PushContext), R(3), |
B(LdaTheHole), |
- B(StaContextSlot), R(context), U8(4), U8(0), |
+ B(StaCurrentContextSlot), U8(4), |
B(CreateClosure), U8(1), U8(2), |
B(Star), R(0), |
/* 73 S> */ B(LdaSmi), U8(1), |
- /* 73 E> */ B(StaContextSlot), R(context), U8(4), U8(0), |
+ /* 73 E> */ B(StaCurrentContextSlot), U8(4), |
B(Mov), R(0), R(2), |
- /* 106 S> */ B(LdaContextSlot), R(context), U8(4), U8(0), |
+ /* 106 S> */ B(LdaCurrentContextSlot), U8(4), |
B(JumpIfToBooleanFalse), U8(8), |
/* 113 S> */ B(PopContext), R(3), |
B(PopContext), R(3), |
- B(Jump), U8(14), |
- /* 126 S> */ B(LdaContextSlot), R(context), U8(4), U8(0), |
+ B(Jump), U8(10), |
+ /* 126 S> */ B(LdaCurrentContextSlot), U8(4), |
B(Inc), U8(2), |
- /* 127 E> */ B(StaContextSlot), R(context), U8(4), U8(0), |
+ /* 127 E> */ B(StaCurrentContextSlot), U8(4), |
B(PopContext), R(3), |
- B(JumpLoop), U8(-54), U8(0), |
+ B(JumpLoop), U8(-44), U8(0), |
B(LdaUndefined), |
/* 137 S> */ B(Return), |
] |