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

Unified Diff: src/compiler/int64-lowering.cc

Issue 1714793003: [wasm] Unittest for Int64Lowering. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 10 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
Index: src/compiler/int64-lowering.cc
diff --git a/src/compiler/int64-lowering.cc b/src/compiler/int64-lowering.cc
index c9c87b65d6de55807e5fa6a13afbe5bc232a3287..8d8073f5471b413b061bce26f36e36fa09c6f08d 100644
--- a/src/compiler/int64-lowering.cc
+++ b/src/compiler/int64-lowering.cc
@@ -209,6 +209,8 @@ void Int64Lowering::LowerNode(Node* node) {
signature()->parameter_count()) {
int old_index = ParameterIndexOf(node->op());
int new_index = GetParameterIndexAfterLowering(signature(), old_index);
+ // TODO(ahaas): Use NodeProperties::ChangeOp here instead of allocating
+ // a new node.
Node* low_node =
graph()->NewNode(common()->Parameter(new_index), graph()->start());
« no previous file with comments | « no previous file | test/unittests/compiler/int64-lowering-unittest.cc » ('j') | test/unittests/compiler/int64-lowering-unittest.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698