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

Unified Diff: runtime/vm/code_generator.h

Issue 10243013: Simpler and better inlined type checks as discussed. Changed inline type test cache arrays to conta… (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 8 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 | « no previous file | runtime/vm/code_generator.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/code_generator.h
===================================================================
--- runtime/vm/code_generator.h (revision 7102)
+++ runtime/vm/code_generator.h (working copy)
@@ -124,6 +124,19 @@
};
+// A subtype test cache is an array remembering subtype tests for given values.
+class SubTypeTestCache : public AllStatic {
+ public:
+ enum Entries {
+ kInstanceClass = 0,
+ kInstanceTypeArguments = 1,
+ kInstantiatorTypeArguments = 2,
+ kTestResult = 3,
+ kNumEntries = 4,
+ };
+};
+
+
RawCode* ResolveCompileInstanceCallTarget(Isolate* isolate,
const Instance& receiver);
« no previous file with comments | « no previous file | runtime/vm/code_generator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698