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

Unified Diff: runtime/vm/code_generator_ia32.h

Issue 10352012: Using SubtypeTestCache object instead of an array, that way we do not need to patch and can communi… (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 7292)
+++ runtime/vm/code_generator_ia32.h (working copy)
@@ -198,17 +198,18 @@
void GenerateInlinedFinallyBlocks(SourceLabel* label);
- void GenerateInlineInstanceof(intptr_t node_id,
- intptr_t token_index,
- const AbstractType& type,
- Label* is_instance_lbl,
- Label* is_not_instance_lbl);
+ RawSubtypeTestCache* GenerateInlineInstanceof(intptr_t node_id,
+ intptr_t token_index,
+ const AbstractType& type,
+ Label* is_instance_lbl,
+ Label* is_not_instance_lbl);
- void GenerateInstantiatedTypeWithArgumentsTest(intptr_t node_id,
- intptr_t token_index,
- const AbstractType& dst_type,
- Label* is_instance_lbl,
- Label* is_not_instance_lbl);
+ RawSubtypeTestCache* GenerateInstantiatedTypeWithArgumentsTest(
+ intptr_t node_id,
+ intptr_t token_index,
+ const AbstractType& dst_type,
+ Label* is_instance_lbl,
+ Label* is_not_instance_lbl);
void GenerateInstantiatedTypeNoArgumentsTest(intptr_t node_id,
intptr_t token_index,
const AbstractType& dst_type,
@@ -217,11 +218,12 @@
void GenerateUninstantiatedTypeTest(const AbstractType& dst_type,
intptr_t token_index,
Label* is_instance_lbl);
- void GenerateSubtype1TestCacheLookup(intptr_t node_id,
- intptr_t token_index,
- const Class& type_class,
- Label* is_instance_lbl,
- Label* is_not_instance_lbl);
+ RawSubtypeTestCache* GenerateSubtype1TestCacheLookup(
+ intptr_t node_id,
+ intptr_t token_index,
+ const Class& type_class,
+ Label* is_instance_lbl,
+ Label* is_not_instance_lbl);
void HandleBackwardBranch(intptr_t loop_id, intptr_t token_index);

Powered by Google App Engine
This is Rietveld 408576698