Index: test/cctest/interpreter/bytecode_expectations/SuperCallAndSpread.golden |
diff --git a/test/cctest/interpreter/bytecode_expectations/SuperCallAndSpread.golden b/test/cctest/interpreter/bytecode_expectations/SuperCallAndSpread.golden |
index 2dd9ec5383188edcb71b65cfd2e740a92c290b55..133e4b9f27292380f194e9bbea0ec49b476f6b69 100644 |
--- a/test/cctest/interpreter/bytecode_expectations/SuperCallAndSpread.golden |
+++ b/test/cctest/interpreter/bytecode_expectations/SuperCallAndSpread.golden |
@@ -17,9 +17,9 @@ snippet: " |
test = new B(1, 2, 3).constructor; |
})(); |
" |
-frame size: 7 |
+frame size: 4 |
parameter count: 1 |
-bytecode array length: 29 |
+bytecode array length: 23 |
bytecodes: [ |
B(CreateRestParameter), |
B(Star), R(2), |
@@ -29,10 +29,8 @@ bytecodes: [ |
/* 93 E> */ B(StackCheck), |
/* 93 S> */ B(Ldar), R(1), |
B(GetSuperConstructor), R(3), |
- B(Mov), R(3), R(4), |
- B(Mov), R(0), R(5), |
- B(Mov), R(2), R(6), |
- /* 93 E> */ B(NewWithSpread), R(4), U8(3), |
+ B(Ldar), R(0), |
+ /* 93 E> */ B(NewWithSpread), R(3), R(2), U8(1), |
/* 93 S> */ B(Return), |
] |
constant pool: [ |
@@ -53,9 +51,9 @@ snippet: " |
test = new B(1, 2, 3).constructor; |
})(); |
" |
-frame size: 8 |
+frame size: 6 |
parameter count: 1 |
-bytecode array length: 62 |
+bytecode array length: 59 |
bytecodes: [ |
B(CreateRestParameter), |
B(Star), R(2), |
@@ -66,11 +64,10 @@ bytecodes: [ |
/* 140 S> */ B(Ldar), R(1), |
B(GetSuperConstructor), R(3), |
B(LdaSmi), U8(1), |
- B(Star), R(6), |
- B(Mov), R(3), R(4), |
- B(Mov), R(0), R(5), |
- B(Mov), R(2), R(7), |
- /* 140 E> */ B(NewWithSpread), R(4), U8(4), |
+ B(Star), R(4), |
+ B(Ldar), R(0), |
+ B(Mov), R(2), R(5), |
+ /* 140 E> */ B(NewWithSpread), R(3), R(4), U8(2), |
B(Star), R(3), |
B(Ldar), R(this), |
B(JumpIfNotHole), U8(4), |