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/typer.cc

Issue 668173002: Add Float64Round operator. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Remove comma at end of enumerator list. Created 6 years, 2 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 70f80cbb6b81868b9dec5b90e7e2442084753e20..c5d3f41a49783ca167270185f85cb20634fec752 100644
--- a/src/compiler/typer.cc
+++ b/src/compiler/typer.cc
@@ -1554,6 +1554,12 @@ Bounds Typer::Visitor::TypeFloat64LessThanOrEqual(Node* node) {
}
+Bounds Typer::Visitor::TypeFloat64Round(Node* node) {
+ // TODO(sigurds): We could have a tighter bound here.
+ return Bounds(Type::Number());
+}
+
+
Bounds Typer::Visitor::TypeLoadStackPointer(Node* node) {
return Bounds(Type::Internal());
}

Powered by Google App Engine
This is Rietveld 408576698