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

Unified Diff: test/unittests/compiler/int64-lowering-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/int64-lowering-unittest.cc
diff --git a/test/unittests/compiler/int64-lowering-unittest.cc b/test/unittests/compiler/int64-lowering-unittest.cc
index 400eafb4dc69c24ac33754c9c78f2c4b7b419b13..fb6c76b1ea1814e3949bb79a8fd92757ba2b6c1a 100644
--- a/test/unittests/compiler/int64-lowering-unittest.cc
+++ b/test/unittests/compiler/int64-lowering-unittest.cc
@@ -40,9 +40,8 @@
MachineOperatorBuilder* machine() { return &machine_; }
void LowerGraph(Node* node, Signature<MachineRepresentation>* signature) {
- Node* zero = graph()->NewNode(common()->Int32Constant(0));
- Node* ret = graph()->NewNode(common()->Return(), zero, node,
- graph()->start(), graph()->start());
+ Node* ret = graph()->NewNode(common()->Return(), node, graph()->start(),
+ graph()->start());
NodeProperties::MergeControlToEnd(graph(), common(), ret);
Int64Lowering lowering(graph(), machine(), common(), zone(), signature);
@@ -217,8 +216,7 @@
Int32Constant(base), Int32Constant(index), \
Int64Constant(value(0)), start(), start()); \
\
- Node* zero = graph()->NewNode(common()->Int32Constant(0)); \
- Node* ret = graph()->NewNode(common()->Return(), zero, \
+ Node* ret = graph()->NewNode(common()->Return(), \
Int32Constant(return_value), store, start()); \
\
NodeProperties::MergeControlToEnd(graph(), common(), ret); \
@@ -315,7 +313,7 @@
CompareCallDescriptors(
OpParameter<const CallDescriptor*>(
- graph()->end()->InputAt(1)->InputAt(1)->InputAt(0)),
+ graph()->end()->InputAt(1)->InputAt(0)->InputAt(0)),
wasm::ModuleEnv::GetI32WasmCallDescriptor(zone(), desc));
}
@@ -349,7 +347,7 @@
CompareCallDescriptors(
OpParameter<const CallDescriptor*>(
- graph()->end()->InputAt(1)->InputAt(1)),
+ graph()->end()->InputAt(1)->InputAt(0)),
wasm::ModuleEnv::GetI32WasmCallDescriptor(zone(), desc));
}
« no previous file with comments | « test/unittests/compiler/instruction-selector-unittest.cc ('k') | test/unittests/compiler/loop-peeling-unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698