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

Unified Diff: test/unittests/compiler/effect-control-linearizer-unittest.cc

Issue 2473643002: Revert of [turbofan] Support variable size argument popping in TF-generated functions (Closed)
Patch Set: Created 4 years, 1 month 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
Index: test/unittests/compiler/effect-control-linearizer-unittest.cc
diff --git a/test/unittests/compiler/effect-control-linearizer-unittest.cc b/test/unittests/compiler/effect-control-linearizer-unittest.cc
index cc697734a9872253e7cf43a1c681bf37c2de9f66..0a12ea371a4a987491122b3917eaf73f98e4a88a 100644
--- a/test/unittests/compiler/effect-control-linearizer-unittest.cc
+++ b/test/unittests/compiler/effect-control-linearizer-unittest.cc
@@ -60,8 +60,7 @@
Node* load = graph()->NewNode(
simplified()->LoadField(AccessBuilder::ForHeapNumberValue()), heap_number,
graph()->start(), graph()->start());
- Node* zero = graph()->NewNode(common()->Int32Constant(0));
- Node* ret = graph()->NewNode(common()->Return(), zero, load, graph()->start(),
+ Node* ret = graph()->NewNode(common()->Return(), load, graph()->start(),
graph()->start());
// Build the basic block structure.
@@ -106,9 +105,8 @@
Node* phi = graph()->NewNode(
common()->Phi(MachineRepresentation::kFloat64, 2), vtrue, vfalse, merge);
- Node* zero = graph()->NewNode(common()->Int32Constant(0));
Node* ret =
- graph()->NewNode(common()->Return(), zero, phi, graph()->start(), merge);
+ graph()->NewNode(common()->Return(), phi, graph()->start(), merge);
// Build the basic block structure.
BasicBlock* start = schedule.start();
@@ -208,9 +206,8 @@
Node* if_false2 = graph()->NewNode(common()->IfFalse(), branch2);
Node* merge2 = graph()->NewNode(common()->Merge(2), if_true2, if_false2);
- Node* zero = graph()->NewNode(common()->Int32Constant(0));
- Node* ret = graph()->NewNode(common()->Return(), zero, call, graph()->start(),
- if_success);
+ Node* ret =
+ graph()->NewNode(common()->Return(), call, graph()->start(), if_success);
// Build the basic block structure.
BasicBlock* start = schedule.start();
@@ -292,9 +289,7 @@
simplified()->LoadField(AccessBuilder::ForHeapNumberValue()), heap_number,
graph()->start(), loop);
- Node* zero = graph()->NewNode(common()->Int32Constant(0));
- Node* ret =
- graph()->NewNode(common()->Return(), zero, load, effect_phi, if_true);
+ Node* ret = graph()->NewNode(common()->Return(), load, effect_phi, if_true);
// Build the basic block structure.
BasicBlock* start = schedule.start();
« no previous file with comments | « test/unittests/compiler/common-operator-unittest.cc ('k') | test/unittests/compiler/escape-analysis-unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698