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

Unified Diff: runtime/vm/code_generator_ia32.h

Issue 10317026: Inline type checks for complex uninstantiated types, e.g., List<T>. (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/code_generator_ia32.h
===================================================================
--- runtime/vm/code_generator_ia32.h (revision 7346)
+++ runtime/vm/code_generator_ia32.h (working copy)
@@ -180,7 +180,8 @@
void GenerateArgumentTypeChecks();
void GenerateConditionTypeCheck(intptr_t node_id, intptr_t token_index);
- void GenerateInstantiatorTypeArguments(intptr_t token_index);
+ void GenerateInstantiatorTypeArguments(intptr_t token_index,
+ bool push_instantiator);
void GenerateTypeArguments(intptr_t node_id,
intptr_t token_index,
const AbstractTypeArguments& type_arguments,
@@ -206,7 +207,7 @@
Label* is_instance_lbl,
Label* is_not_instance_lbl);
- RawSubtypeTestCache* GenerateInstantiatedTypeWithArgumentsTest(
+ RawSubtypeTestCache* GenerateInstantiatedTypeWithArgumentsTest(
intptr_t node_id,
intptr_t token_index,
const AbstractType& dst_type,
@@ -217,9 +218,12 @@
const AbstractType& dst_type,
Label* is_instance_lbl,
Label* is_not_instance_lbl);
- void GenerateUninstantiatedTypeTest(const AbstractType& dst_type,
- intptr_t token_index,
- Label* is_instance_lbl);
+ RawSubtypeTestCache* GenerateUninstantiatedTypeTest(
+ const AbstractType& dst_type,
+ intptr_t node_id,
+ intptr_t token_index,
+ Label* is_instance_lbl,
+ Label* is_not_instance_label);
RawSubtypeTestCache* GenerateSubtype1TestCacheLookup(
intptr_t node_id,
intptr_t token_index,

Powered by Google App Engine
This is Rietveld 408576698