| OLD | NEW |
| 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 #if !defined(DART_PRECOMPILED_RUNTIME) |
| 6 |
| 5 #include "vm/flow_graph_builder.h" | 7 #include "vm/flow_graph_builder.h" |
| 6 | 8 |
| 7 #include "lib/invocation_mirror.h" | 9 #include "lib/invocation_mirror.h" |
| 8 #include "vm/ast_printer.h" | 10 #include "vm/ast_printer.h" |
| 9 #include "vm/bit_vector.h" | 11 #include "vm/bit_vector.h" |
| 10 #include "vm/class_finalizer.h" | 12 #include "vm/class_finalizer.h" |
| 11 #include "vm/compiler.h" | 13 #include "vm/compiler.h" |
| 12 #include "vm/exceptions.h" | 14 #include "vm/exceptions.h" |
| 13 #include "vm/flags.h" | 15 #include "vm/flags.h" |
| 14 #include "vm/flow_graph.h" | 16 #include "vm/flow_graph.h" |
| (...skipping 4397 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4412 ASSERT(type.HasResolvedTypeClass()); | 4414 ASSERT(type.HasResolvedTypeClass()); |
| 4413 const Class& type_class = Class::Handle(type.type_class()); | 4415 const Class& type_class = Class::Handle(type.type_class()); |
| 4414 // Bail if the type has any type parameters. | 4416 // Bail if the type has any type parameters. |
| 4415 if (type_class.IsGeneric()) return false; | 4417 if (type_class.IsGeneric()) return false; |
| 4416 | 4418 |
| 4417 // Finally a simple class for instance of checking. | 4419 // Finally a simple class for instance of checking. |
| 4418 return true; | 4420 return true; |
| 4419 } | 4421 } |
| 4420 | 4422 |
| 4421 } // namespace dart | 4423 } // namespace dart |
| 4424 |
| 4425 #endif // !defined(DART_PRECOMPILED_RUNTIME) |
| OLD | NEW |