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/compiler.h" | 12 #include "vm/compiler.h" |
11 #include "vm/class_finalizer.h" | 13 #include "vm/class_finalizer.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 4560 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4575 ASSERT(type.HasResolvedTypeClass()); | 4577 ASSERT(type.HasResolvedTypeClass()); |
4576 const Class& type_class = Class::Handle(type.type_class()); | 4578 const Class& type_class = Class::Handle(type.type_class()); |
4577 // Bail if the type has any type parameters. | 4579 // Bail if the type has any type parameters. |
4578 if (type_class.IsGeneric()) return false; | 4580 if (type_class.IsGeneric()) return false; |
4579 | 4581 |
4580 // Finally a simple class for instance of checking. | 4582 // Finally a simple class for instance of checking. |
4581 return true; | 4583 return true; |
4582 } | 4584 } |
4583 | 4585 |
4584 } // namespace dart | 4586 } // namespace dart |
| 4587 |
| 4588 #endif // !defined(DART_PRECOMPILED_RUNTIME) |
OLD | NEW |