| 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));
|
| }
|
|
|
|
|