Index: test/cctest/interpreter/bytecode_expectations/CallLookupSlot.golden |
diff --git a/test/cctest/interpreter/bytecode_expectations/CallLookupSlot.golden b/test/cctest/interpreter/bytecode_expectations/CallLookupSlot.golden |
index fc7a6f78432b2ba2e4cd55f554874fd60556432e..f68ea4405026368d9931068e6d3a9fa2508e9a43 100644 |
--- a/test/cctest/interpreter/bytecode_expectations/CallLookupSlot.golden |
+++ b/test/cctest/interpreter/bytecode_expectations/CallLookupSlot.golden |
@@ -11,7 +11,7 @@ snippet: " |
" |
frame size: 10 |
parameter count: 1 |
-bytecode array length: 82 |
+bytecode array length: 86 |
bytecodes: [ |
B(CreateFunctionContext), U8(3), |
B(PushContext), R(0), |
@@ -22,11 +22,13 @@ bytecodes: [ |
B(Ldar), R(new_target), |
B(StaCurrentContextSlot), U8(5), |
/* 30 E> */ B(StackCheck), |
- /* 34 S> */ B(CreateClosure), U8(0), U8(2), U8(2), |
- /* 36 E> */ B(StaLookupSlotSloppy), U8(1), |
+ /* 34 S> */ B(LdaConstant), U8(0), |
+ B(Star), R(1), |
+ B(CreateClosure), U8(1), U8(2), U8(2), |
+ /* 36 E> */ B(StaLookupSlotSloppy), U8(0), |
/* 52 S> */ B(LdaUndefined), |
B(Star), R(2), |
- /* 52 E> */ B(LdaLookupGlobalSlot), U8(2), U8(5), U8(1), |
+ /* 52 E> */ B(LdaLookupGlobalSlot), U8(2), U8(7), U8(1), |
B(Star), R(1), |
B(LdaConstant), U8(3), |
B(Star), R(3), |
@@ -41,17 +43,17 @@ bytecodes: [ |
B(Mov), R(closure), R(6), |
B(CallRuntime), U16(Runtime::kResolvePossiblyDirectEval), R(4), U8(6), |
B(Star), R(1), |
- /* 52 E> */ B(Call), R(1), R(2), U8(2), U8(3), |
+ /* 52 E> */ B(Call), R(1), R(2), U8(2), U8(5), |
/* 62 S> */ B(LdaUndefined), |
B(Star), R(2), |
- /* 69 E> */ B(LdaLookupGlobalSlot), U8(1), U8(9), U8(1), |
+ /* 69 E> */ B(LdaLookupGlobalSlot), U8(0), U8(11), U8(1), |
B(Star), R(1), |
- /* 69 E> */ B(Call), R(1), R(2), U8(1), U8(7), |
+ /* 69 E> */ B(Call), R(1), R(2), U8(1), U8(9), |
/* 74 S> */ B(Return), |
] |
constant pool: [ |
- SHARED_FUNCTION_INFO_TYPE, |
ONE_BYTE_INTERNALIZED_STRING_TYPE ["g"], |
+ SHARED_FUNCTION_INFO_TYPE, |
ONE_BYTE_INTERNALIZED_STRING_TYPE ["eval"], |
ONE_BYTE_INTERNALIZED_STRING_TYPE [""], |
] |