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

Unified Diff: runtime/vm/object.h

Issue 10010029: When checking against non-parametrized types use a cache to hold result tuples (class, result). Tha… (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
Index: runtime/vm/object.h
===================================================================
--- runtime/vm/object.h (revision 6245)
+++ runtime/vm/object.h (working copy)
@@ -1983,6 +1983,7 @@
kIcCall, // IC call.
kFuncCall, // Call to known target, e.g. static call, closure call.
kReturn, // Return from function.
+ kTypeTest, // Array caching previous type tests.
kOther
};
@@ -2239,6 +2240,7 @@
uword GetPatchCodePc() const;
uword GetDeoptPcAtNodeId(intptr_t node_id) const;
+ uword GetTypeTestAtNodeId(intptr_t node_id) const;
// Returns true if there is an object in the code between 'start_offset'
// (inclusive) and 'end_offset' (exclusive).

Powered by Google App Engine
This is Rietveld 408576698