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

Unified Diff: src/compiler/typer.cc

Issue 612043003: Add inlining for intrinsics. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Fix bug. 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 fc71fd2dbab1fc270761c6ed7a5933a8b000e888..8fe62e7e5b1f1ce39c3dd89af51649676ff863d9 100644
--- a/src/compiler/typer.cc
+++ b/src/compiler/typer.cc
@@ -1228,6 +1228,14 @@ Bounds Typer::Visitor::TypeStoreElement(Node* node) {
}
+Bounds Typer::Visitor::TypeIsSmi(Node* node) { return Bounds(Type::Boolean()); }
+
+
+Bounds Typer::Visitor::TypeIsNonNegativeSmi(Node* node) {
+ return Bounds(Type::Boolean());
+}
+
+
// Machine operators.
Bounds Typer::Visitor::TypeLoad(Node* node) {

Powered by Google App Engine
This is Rietveld 408576698