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

Unified Diff: src/compiler/effect-control-linearizer.cc

Issue 2467473002: [turbofan] Use an IntPtrConstant in WordEqual comparisons. (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
« no previous file with comments | « no previous file | src/compiler/representation-change.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler/effect-control-linearizer.cc
diff --git a/src/compiler/effect-control-linearizer.cc b/src/compiler/effect-control-linearizer.cc
index 0156067cce4e2724442ce8a95f579ffabac5066f..318c55ba90a547e1155d9c1253bbee007fd08bd9 100644
--- a/src/compiler/effect-control-linearizer.cc
+++ b/src/compiler/effect-control-linearizer.cc
@@ -925,7 +925,7 @@ EffectControlLinearizer::LowerTruncateTaggedToBit(Node* node, Node* effect,
values[count] =
graph()->NewNode(machine()->Word32Equal(),
graph()->NewNode(machine()->WordEqual(), value,
- jsgraph()->ZeroConstant()),
+ jsgraph()->IntPtrConstant(0)),
zero);
count++;
}
@@ -978,7 +978,7 @@ EffectControlLinearizer::LowerTruncateTaggedToBit(Node* node, Node* effect,
values[count] =
graph()->NewNode(machine()->Word32Equal(),
graph()->NewNode(machine()->WordEqual(), value_length,
- jsgraph()->ZeroConstant()),
+ jsgraph()->IntPtrConstant(0)),
zero);
count++;
}
« no previous file with comments | « no previous file | src/compiler/representation-change.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698