| OLD | NEW |
| 1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2016, 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 import '../common/codegen.dart' show CodegenRegistry; | 5 import '../common/codegen.dart' show CodegenRegistry; |
| 6 import '../compiler.dart'; | 6 import '../compiler.dart'; |
| 7 import '../elements/elements.dart'; | 7 import '../elements/elements.dart'; |
| 8 import '../elements/entities.dart' show Entity, Local; | 8 import '../elements/entities.dart' show Entity, Local; |
| 9 import '../elements/resolution_types.dart'; | 9 import '../elements/resolution_types.dart'; |
| 10 import '../js_backend/js_backend.dart'; | 10 import '../js_backend/js_backend.dart'; |
| 11 import '../resolution/tree_elements.dart'; | 11 import '../resolution/tree_elements.dart'; |
| 12 import '../tree/tree.dart' as ast; | |
| 13 import '../types/types.dart'; | 12 import '../types/types.dart'; |
| 14 import '../world.dart' show ClosedWorld; | 13 import '../world.dart' show ClosedWorld; |
| 15 import 'jump_handler.dart'; | 14 import 'jump_handler.dart'; |
| 16 import 'locals_handler.dart'; | 15 import 'locals_handler.dart'; |
| 17 import 'nodes.dart'; | 16 import 'nodes.dart'; |
| 18 import 'type_builder.dart'; | 17 import 'type_builder.dart'; |
| 19 | 18 |
| 20 /// Base class for objects that build up an SSA graph. | 19 /// Base class for objects that build up an SSA graph. |
| 21 /// | 20 /// |
| 22 /// This contains helpers for building the graph and tracking information about | 21 /// This contains helpers for building the graph and tracking information about |
| (...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 227 open(newBlock); | 226 open(newBlock); |
| 228 } | 227 } |
| 229 | 228 |
| 230 HInstruction callSetRuntimeTypeInfo( | 229 HInstruction callSetRuntimeTypeInfo( |
| 231 HInstruction typeInfo, HInstruction newObject); | 230 HInstruction typeInfo, HInstruction newObject); |
| 232 | 231 |
| 233 /// The element for which this SSA builder is being used. | 232 /// The element for which this SSA builder is being used. |
| 234 Element get targetElement; | 233 Element get targetElement; |
| 235 TypeBuilder get typeBuilder; | 234 TypeBuilder get typeBuilder; |
| 236 } | 235 } |
| OLD | NEW |