Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(315)

Side by Side Diff: pkg/compiler/lib/src/ssa/nodes.dart

Issue 2609063002: Further reduce use of Element in codegen. (Closed)
Patch Set: Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 '../common/backend_api.dart' show BackendClasses; 7 import '../common/backend_api.dart' show BackendClasses;
8 import '../compiler.dart' show Compiler; 8 import '../compiler.dart' show Compiler;
9 import '../constants/constant_system.dart'; 9 import '../constants/constant_system.dart';
10 import '../constants/values.dart'; 10 import '../constants/values.dart';
11 import '../elements/elements.dart' 11 import '../elements/elements.dart'
12 show Entity, JumpTarget, LabelDefinition, Local; 12 show Entity, JumpTarget, LabelDefinition, Local;
13 import '../elements/entities.dart'; 13 import '../elements/entities.dart';
14 import '../elements/types.dart'; 14 import '../elements/types.dart';
15 import '../io/source_information.dart'; 15 import '../io/source_information.dart';
16 import '../js/js.dart' as js; 16 import '../js/js.dart' as js;
17 import '../js_backend/backend_helpers.dart' show BackendHelpers;
18 import '../js_backend/js_backend.dart'; 17 import '../js_backend/js_backend.dart';
19 import '../native/native.dart' as native; 18 import '../native/native.dart' as native;
20 import '../tree/dartstring.dart' as ast; 19 import '../tree/dartstring.dart' as ast;
21 import '../types/constants.dart' show computeTypeMask; 20 import '../types/constants.dart' show computeTypeMask;
22 import '../types/types.dart'; 21 import '../types/types.dart';
23 import '../universe/selector.dart' show Selector; 22 import '../universe/selector.dart' show Selector;
24 import '../universe/side_effects.dart' show SideEffects; 23 import '../universe/side_effects.dart' show SideEffects;
25 import '../util/util.dart'; 24 import '../util/util.dart';
26 import '../world.dart' show ClosedWorld; 25 import '../world.dart' show ClosedWorld;
27 import 'invoke_dynamic_specializers.dart'; 26 import 'invoke_dynamic_specializers.dart';
(...skipping 3421 matching lines...) Expand 10 before | Expand all | Expand 10 after
3449 class HDynamicType extends HRuntimeType { 3448 class HDynamicType extends HRuntimeType {
3450 HDynamicType(DynamicType dartType, TypeMask instructionType) 3449 HDynamicType(DynamicType dartType, TypeMask instructionType)
3451 : super(const <HInstruction>[], dartType, instructionType); 3450 : super(const <HInstruction>[], dartType, instructionType);
3452 3451
3453 accept(HVisitor visitor) => visitor.visitDynamicType(this); 3452 accept(HVisitor visitor) => visitor.visitDynamicType(this);
3454 3453
3455 int typeCode() => HInstruction.DYNAMIC_TYPE_TYPECODE; 3454 int typeCode() => HInstruction.DYNAMIC_TYPE_TYPECODE;
3456 3455
3457 bool typeEquals(HInstruction other) => other is HDynamicType; 3456 bool typeEquals(HInstruction other) => other is HDynamicType;
3458 } 3457 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698