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

Unified Diff: src/compiler/typer.cc

Issue 2101123005: [turbofan] Introduce integer multiplication with overflow. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix compile error. 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/typer.cc
diff --git a/src/compiler/typer.cc b/src/compiler/typer.cc
index ce8a5636233c1476de497b1db9e3c2615ce48337..aaddccb5d364340c3319c6c98efd93d62c0e05c0 100644
--- a/src/compiler/typer.cc
+++ b/src/compiler/typer.cc
@@ -2060,6 +2060,9 @@ Type* Typer::Visitor::TypeInt32SubWithOverflow(Node* node) {
Type* Typer::Visitor::TypeInt32Mul(Node* node) { return Type::Integral32(); }
+Type* Typer::Visitor::TypeInt32MulWithOverflow(Node* node) {
+ return Type::Internal();
+}
Type* Typer::Visitor::TypeInt32MulHigh(Node* node) { return Type::Signed32(); }
@@ -2115,7 +2118,6 @@ Type* Typer::Visitor::TypeInt64SubWithOverflow(Node* node) {
Type* Typer::Visitor::TypeInt64Mul(Node* node) { return Type::Internal(); }
-
Type* Typer::Visitor::TypeInt64Div(Node* node) { return Type::Internal(); }

Powered by Google App Engine
This is Rietveld 408576698