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

Unified Diff: src/compiler/typer.cc

Issue 1424333002: [turbofan] Added the RoundInt64ToFloat64 instruction to TurboFan. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@BufferedRawMachineAssemblerTester
Patch Set: Renamed ChangeInt64ToFloat64 to RoundInt64ToFloat64, and removed the Signed64 type again. Created 5 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
Index: src/compiler/typer.cc
diff --git a/src/compiler/typer.cc b/src/compiler/typer.cc
index ea20cec83fdbfd2c8a26c483b28c2634e82c63c4..dcdf0241eefaeca5a5755f8e64671ecdd40d2f08 100644
--- a/src/compiler/typer.cc
+++ b/src/compiler/typer.cc
@@ -1994,6 +1994,11 @@ Type* Typer::Visitor::TypeChangeInt32ToFloat64(Node* node) {
}
+Type* Typer::Visitor::TypeRoundInt64ToFloat64(Node* node) {
+ return Type::Intersect(Type::Internal(), Type::UntaggedFloat64(), zone());
rossberg 2015/11/03 10:46:32 This gives the return type, so should be Number, n
ahaas 2015/11/03 15:03:38 Done.
+}
+
+
Type* Typer::Visitor::TypeChangeInt32ToInt64(Node* node) {
return Type::Internal();
}

Powered by Google App Engine
This is Rietveld 408576698