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

Unified Diff: runtime/vm/symbols.h

Issue 1222863003: Make frequent type checks (instanceof) faster by adding dedicated instanceof methods; improves dart… (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: flag Created 5 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
« no previous file with comments | « runtime/vm/object.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/symbols.h
diff --git a/runtime/vm/symbols.h b/runtime/vm/symbols.h
index 68f4751ebbecdf8f95330d121e308f3c64c2e4ba..ee38d31f4b494f62b6cecd2874cca1bd77eb79bc 100644
--- a/runtime/vm/symbols.h
+++ b/runtime/vm/symbols.h
@@ -311,6 +311,11 @@ class ObjectPointerVisitor;
V(TwoNewlines, "\n\n") \
V(TwoSpaces, " ") \
V(_instanceOf, "_instanceOf") \
+ V(_instanceOfSmi, "_instanceOfSmi") \
+ V(_instanceOfNum, "_instanceOfNum") \
+ V(_instanceOfInt, "_instanceOfInt") \
+ V(_instanceOfDouble, "_instanceOfDouble") \
+ V(_instanceOfString, "_instanceOfString") \
V(_as, "_as") \
V(GetterPrefix, "get:") \
V(SetterPrefix, "set:") \
« no previous file with comments | « runtime/vm/object.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698