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

Unified Diff: runtime/vm/flow_graph_compiler_ia32.cc

Issue 10942025: Convert String and List to abstract classes. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Updated to tip-of-tree. Created 8 years, 3 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/flow_graph_compiler_ia32.cc
diff --git a/runtime/vm/flow_graph_compiler_ia32.cc b/runtime/vm/flow_graph_compiler_ia32.cc
index f785ba93880a0a8d1a567a8a4ba2d28dc9a495d8..51cdb794ab7b81d938cf1afae63b94433313c576 100644
--- a/runtime/vm/flow_graph_compiler_ia32.cc
+++ b/runtime/vm/flow_graph_compiler_ia32.cc
@@ -148,7 +148,7 @@ FlowGraphCompiler::GenerateInstantiatedTypeWithArgumentsTest(
__ cmpl(kClassIdReg, Immediate(type_class.id()));
__ j(EQUAL, is_instance_lbl);
}
- if (type.IsListInterface()) {
+ if (type.IsListType()) {
GenerateListTypeCheck(kClassIdReg, is_instance_lbl);
}
return GenerateSubtype1TestCacheLookup(
@@ -257,7 +257,7 @@ bool FlowGraphCompiler::GenerateInstantiatedTypeNoArgumentsTest(
kClassIdReg, type, is_instance_lbl, is_not_instance_lbl);
return false;
}
- if (type.IsStringInterface()) {
+ if (type.IsStringType()) {
GenerateStringTypeCheck(kClassIdReg, is_instance_lbl, is_not_instance_lbl);
return false;
}

Powered by Google App Engine
This is Rietveld 408576698