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

Unified Diff: runtime/vm/flow_graph_compiler_x64.h

Issue 10414026: Started porting inlined type checks to x64 (will be the future pattern for other architectures). (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 7 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/code_generator_ia32.cc ('k') | runtime/vm/flow_graph_compiler_x64.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/flow_graph_compiler_x64.h
===================================================================
--- runtime/vm/flow_graph_compiler_x64.h (revision 7823)
+++ runtime/vm/flow_graph_compiler_x64.h (working copy)
@@ -117,12 +117,43 @@
intptr_t token_index,
intptr_t try_index);
+ // Type checking helper methods.
+ void CheckClasses(const GrowableArray<const Class*>& classes,
+ Label* is_instance_lbl,
+ Label* is_not_instance_lbl);
RawSubtypeTestCache* GenerateInlineInstanceof(intptr_t cid,
intptr_t token_index,
const AbstractType& type,
Label* is_instance,
Label* is_not_instance);
+ RawSubtypeTestCache* GenerateInstantiatedTypeWithArgumentsTest(
+ intptr_t cid,
+ intptr_t token_index,
+ const AbstractType& dst_type,
+ Label* is_instance_lbl,
+ Label* is_not_instance_lbl);
+
+ void GenerateInstantiatedTypeNoArgumentsTest(intptr_t cid,
+ intptr_t token_index,
+ const AbstractType& dst_type,
+ Label* is_instance_lbl,
+ Label* is_not_instance_lbl);
+
+ RawSubtypeTestCache* GenerateUninstantiatedTypeTest(
+ const AbstractType& dst_type,
+ intptr_t cid,
+ intptr_t token_index,
+ Label* is_instance_lbl,
+ Label* is_not_instance_label);
+
+ RawSubtypeTestCache* GenerateSubtype1TestCacheLookup(
+ intptr_t cid,
+ intptr_t token_index,
+ const Class& type_class,
+ Label* is_instance_lbl,
+ Label* is_not_instance_lbl);
+
void GenerateAssertAssignable(intptr_t cid,
intptr_t token_index,
intptr_t try_index,
« no previous file with comments | « runtime/vm/code_generator_ia32.cc ('k') | runtime/vm/flow_graph_compiler_x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698