Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2)

Unified Diff: test/cctest/interpreter/bytecode_expectations/SuperCallAndSpread.golden

Issue 2571563004: [Turbofan] Implement super calls with spread bytecode in assembly code. (Closed)
Patch Set: MIPS64 port Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/runtime/runtime-classes.cc ('k') | test/mjsunit/es6/spread-call-new-class.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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),
« no previous file with comments | « src/runtime/runtime-classes.cc ('k') | test/mjsunit/es6/spread-call-new-class.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698