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

Unified Diff: src/compiler/js-graph.cc

Issue 2141953002: [Turbofan]: Add integer multiplication with overflow to typed lowering. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@multiply
Patch Set: fix failing tests. Created 4 years, 5 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/js-graph.cc
diff --git a/src/compiler/js-graph.cc b/src/compiler/js-graph.cc
index 3f20daa3d174540aed830a7597ba2fde251e8ff3..2157572f26b5d22c184366e6b49e35f01bd0bd73 100644
--- a/src/compiler/js-graph.cc
+++ b/src/compiler/js-graph.cc
@@ -92,6 +92,10 @@ Node* JSGraph::ZeroConstant() {
return CACHED(kZeroConstant, NumberConstant(0.0));
}
+Node* JSGraph::MinusZeroConstant() {
+ return CACHED(kMinusZeroConstant,
Benedikt Meurer 2016/07/14 11:41:35 Remove this one.
+ HeapConstant(factory()->minus_zero_value()));
+}
Node* JSGraph::OneConstant() {
return CACHED(kOneConstant, NumberConstant(1.0));

Powered by Google App Engine
This is Rietveld 408576698