Index: test/cctest/interpreter/bytecode_expectations/CallAndSpread.golden |
diff --git a/test/cctest/interpreter/bytecode_expectations/CallAndSpread.golden b/test/cctest/interpreter/bytecode_expectations/CallAndSpread.golden |
index c2acbec1022148e0b0b7cf8b6084a21c8360b088..2a3c98b005a17aa34051c9e4823de4e7d450e695 100644 |
--- a/test/cctest/interpreter/bytecode_expectations/CallAndSpread.golden |
+++ b/test/cctest/interpreter/bytecode_expectations/CallAndSpread.golden |
@@ -67,26 +67,28 @@ snippet: " |
" |
frame size: 8 |
parameter count: 1 |
-bytecode array length: 60 |
+bytecode array length: 64 |
bytecodes: [ |
/* 30 E> */ B(StackCheck), |
/* 34 S> */ B(LdaUndefined), |
B(Star), R(1), |
- /* 34 E> */ B(LdaGlobal), U8(0), U8(2), |
+ B(LdaConstant), U8(0), |
+ B(Star), R(2), |
+ /* 34 E> */ B(LdaGlobal), U8(1), U8(2), |
B(Star), R(0), |
- B(LdaNamedProperty), R(0), U8(1), U8(4), |
+ B(LdaNamedProperty), R(0), U8(2), U8(6), |
B(Star), R(2), |
B(LdaUndefined), |
B(Star), R(4), |
- B(CreateArrayLiteral), U8(2), U8(6), U8(9), |
+ B(CreateArrayLiteral), U8(3), U8(8), U8(9), |
B(Star), R(5), |
B(LdaUndefined), |
B(Star), R(6), |
- B(CreateArrayLiteral), U8(3), U8(7), U8(9), |
+ B(CreateArrayLiteral), U8(4), U8(9), U8(9), |
B(Star), R(7), |
B(CallJSRuntime), U8(%spread_iterable), R(6), U8(2), |
B(Star), R(6), |
- B(CreateArrayLiteral), U8(4), U8(8), U8(9), |
+ B(CreateArrayLiteral), U8(5), U8(10), U8(9), |
B(Star), R(7), |
B(CallJSRuntime), U8(%spread_arguments), R(4), U8(4), |
B(Star), R(4), |
@@ -96,6 +98,7 @@ bytecodes: [ |
/* 64 S> */ B(Return), |
] |
constant pool: [ |
+ ONE_BYTE_INTERNALIZED_STRING_TYPE [""], |
ONE_BYTE_INTERNALIZED_STRING_TYPE ["Math"], |
ONE_BYTE_INTERNALIZED_STRING_TYPE ["max"], |
CONSTANT_ELEMENTS_PAIR_TYPE, |