summaryrefslogtreecommitdiff
path: root/deps/v8/test/cctest/interpreter/bytecode_expectations/SuperCallAndSpread.golden
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/test/cctest/interpreter/bytecode_expectations/SuperCallAndSpread.golden')
-rw-r--r--deps/v8/test/cctest/interpreter/bytecode_expectations/SuperCallAndSpread.golden27
1 files changed, 10 insertions, 17 deletions
diff --git a/deps/v8/test/cctest/interpreter/bytecode_expectations/SuperCallAndSpread.golden b/deps/v8/test/cctest/interpreter/bytecode_expectations/SuperCallAndSpread.golden
index 7c5e447a81..0d36442d47 100644
--- a/deps/v8/test/cctest/interpreter/bytecode_expectations/SuperCallAndSpread.golden
+++ b/deps/v8/test/cctest/interpreter/bytecode_expectations/SuperCallAndSpread.golden
@@ -91,34 +91,27 @@ snippet: "
test = new B(1, 2, 3).constructor;
})();
"
-frame size: 10
+frame size: 8
parameter count: 1
-bytecode array length: 72
+bytecode array length: 60
bytecodes: [
B(CreateRestParameter),
B(Star), R(2),
B(Mov), R(closure), R(1),
/* 128 E> */ B(StackCheck),
B(Mov), R(2), R(3),
- /* 140 S> */ B(LdaUndefined),
+ /* 140 S> */ B(CallRuntime), U16(Runtime::k_GetSuperConstructor), R(closure), U8(1),
B(Star), R(4),
- /* 140 E> */ B(CallRuntime), U16(Runtime::k_GetSuperConstructor), R(closure), U8(1),
+ B(CreateArrayLiteral), U8(0), U8(0), U8(37),
B(Star), R(5),
- B(LdaUndefined),
+ /* 152 E> */ B(CallJSRuntime), U8(%spread_iterable), R(2), U8(1),
B(Star), R(6),
- B(CreateArrayLiteral), U8(0), U8(0), U8(37),
- B(Star), R(7),
- B(LdaUndefined),
- B(Star), R(8),
- B(Mov), R(2), R(9),
- /* 152 E> */ B(CallJSRuntime), U8(%spread_iterable), R(8), U8(2),
- B(Star), R(8),
B(CreateArrayLiteral), U8(1), U8(1), U8(37),
- B(Star), R(9),
- B(CallJSRuntime), U8(%spread_arguments), R(6), U8(4),
- B(Star), R(6),
- B(Mov), R(0), R(7),
- /* 140 E> */ B(CallJSRuntime), U8(%reflect_construct), R(4), U8(4),
+ B(Star), R(7),
+ B(CallJSRuntime), U8(%spread_arguments), R(5), U8(3),
+ B(Star), R(5),
+ B(Mov), R(0), R(6),
+ /* 140 E> */ B(CallJSRuntime), U8(%reflect_construct), R(4), U8(3),
B(Star), R(4),
B(Ldar), R(this),
/* 140 E> */ B(ThrowSuperAlreadyCalledIfNotHole),