Chromium Code Reviews| Index: runtime/vm/flow_graph_compiler_x64.cc |
| =================================================================== |
| --- runtime/vm/flow_graph_compiler_x64.cc (revision 14985) |
| +++ runtime/vm/flow_graph_compiler_x64.cc (working copy) |
| @@ -158,7 +158,7 @@ |
| __ cmpl(kClassIdReg, Immediate(type_class.id())); |
| __ j(EQUAL, is_instance_lbl); |
| } |
| - if (type.IsListInterface()) { |
| + if (type_class.raw() == Isolate::Current()->object_store()->list_class()) { |
|
regis
2012/11/20 19:37:33
Done here too.
|
| GenerateListTypeCheck(kClassIdReg, is_instance_lbl); |
| } |
| return GenerateSubtype1TestCacheLookup( |