| 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 import '../closure.dart'; | 5 import '../closure.dart'; |
| 6 import '../common.dart'; | 6 import '../common.dart'; |
| 7 import '../compiler.dart' show Compiler; | 7 import '../compiler.dart' show Compiler; |
| 8 import '../constants/constant_system.dart'; | 8 import '../constants/constant_system.dart'; |
| 9 import '../constants/values.dart'; | 9 import '../constants/values.dart'; |
| 10 import '../dart_types.dart'; | 10 import '../dart_types.dart'; |
| 11 import '../elements/elements.dart'; | 11 import '../elements/elements.dart'; |
| 12 import '../io/source_information.dart'; | 12 import '../io/source_information.dart'; |
| 13 import '../js/js.dart' as js; | 13 import '../js/js.dart' as js; |
| 14 import '../js_backend/backend_helpers.dart' show BackendHelpers; | 14 import '../js_backend/backend_helpers.dart' show BackendHelpers; |
| 15 import '../js_backend/js_backend.dart'; | 15 import '../js_backend/js_backend.dart'; |
| 16 import '../native/native.dart' as native; | 16 import '../native/native.dart' as native; |
| 17 import '../tree/dartstring.dart' as ast; | 17 import '../tree/dartstring.dart' as ast; |
| 18 import '../types/constants.dart' show computeTypeMask; | 18 import '../types/constants.dart' show computeTypeMask; |
| 19 import '../types/types.dart'; | 19 import '../types/types.dart'; |
| 20 import '../universe/selector.dart' show Selector; | 20 import '../universe/selector.dart' show Selector; |
| 21 import '../universe/side_effects.dart' show SideEffects; | 21 import '../universe/side_effects.dart' show SideEffects; |
| 22 import '../util/util.dart'; | 22 import '../util/util.dart'; |
| 23 import '../world.dart' show ClassWorld, World; | 23 import '../world.dart' show ClassWorld; |
| 24 | 24 import 'invoke_dynamic_specializers.dart'; |
| 25 import 'validate.dart'; | 25 import 'validate.dart'; |
| 26 import 'invoke_dynamic_specializers.dart'; | |
| 27 | 26 |
| 28 abstract class HVisitor<R> { | 27 abstract class HVisitor<R> { |
| 29 R visitAdd(HAdd node); | 28 R visitAdd(HAdd node); |
| 30 R visitAwait(HAwait node); | 29 R visitAwait(HAwait node); |
| 31 R visitBitAnd(HBitAnd node); | 30 R visitBitAnd(HBitAnd node); |
| 32 R visitBitNot(HBitNot node); | 31 R visitBitNot(HBitNot node); |
| 33 R visitBitOr(HBitOr node); | 32 R visitBitOr(HBitOr node); |
| 34 R visitBitXor(HBitXor node); | 33 R visitBitXor(HBitXor node); |
| 35 R visitBoolify(HBoolify node); | 34 R visitBoolify(HBoolify node); |
| 36 R visitBoundsCheck(HBoundsCheck node); | 35 R visitBoundsCheck(HBoundsCheck node); |
| (...skipping 3225 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3262 class HDynamicType extends HRuntimeType { | 3261 class HDynamicType extends HRuntimeType { |
| 3263 HDynamicType(DynamicType dartType, TypeMask instructionType) | 3262 HDynamicType(DynamicType dartType, TypeMask instructionType) |
| 3264 : super(const <HInstruction>[], dartType, instructionType); | 3263 : super(const <HInstruction>[], dartType, instructionType); |
| 3265 | 3264 |
| 3266 accept(HVisitor visitor) => visitor.visitDynamicType(this); | 3265 accept(HVisitor visitor) => visitor.visitDynamicType(this); |
| 3267 | 3266 |
| 3268 int typeCode() => HInstruction.DYNAMIC_TYPE_TYPECODE; | 3267 int typeCode() => HInstruction.DYNAMIC_TYPE_TYPECODE; |
| 3269 | 3268 |
| 3270 bool typeEquals(HInstruction other) => other is HDynamicType; | 3269 bool typeEquals(HInstruction other) => other is HDynamicType; |
| 3271 } | 3270 } |
| OLD | NEW |