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

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

Issue 2930293002: Parameterize and move JumpTarget/LabelDefition to elements/jumps.dart (Closed)
Patch Set: Fix Created 3 years, 6 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 'dart:math' as math; 5 import 'dart:math' as math;
6 import 'dart:collection' show Queue; 6 import 'dart:collection' show Queue;
7 import '../common.dart'; 7 import '../common.dart';
8 import '../common/codegen.dart' show CodegenRegistry, CodegenWorkItem; 8 import '../common/codegen.dart' show CodegenRegistry, CodegenWorkItem;
9 import '../common/tasks.dart' show CompilerTask; 9 import '../common/tasks.dart' show CompilerTask;
10 import '../constants/constant_system.dart'; 10 import '../constants/constant_system.dart';
11 import '../constants/values.dart'; 11 import '../constants/values.dart';
12 import '../common_elements.dart' show CommonElements; 12 import '../common_elements.dart' show CommonElements;
13 import '../elements/elements.dart' 13 import '../elements/elements.dart' show MethodElement;
14 show JumpTarget, LabelDefinition, MethodElement;
15 import '../elements/entities.dart'; 14 import '../elements/entities.dart';
15 import '../elements/jumps.dart';
16 import '../elements/types.dart'; 16 import '../elements/types.dart';
17 import '../io/source_information.dart'; 17 import '../io/source_information.dart';
18 import '../js/js.dart' as js; 18 import '../js/js.dart' as js;
19 import '../js_backend/interceptor_data.dart'; 19 import '../js_backend/interceptor_data.dart';
20 import '../js_backend/backend.dart'; 20 import '../js_backend/backend.dart';
21 import '../js_backend/checked_mode_helpers.dart'; 21 import '../js_backend/checked_mode_helpers.dart';
22 import '../js_backend/native_data.dart'; 22 import '../js_backend/native_data.dart';
23 import '../js_backend/namer.dart'; 23 import '../js_backend/namer.dart';
24 import '../js_backend/runtime_types.dart'; 24 import '../js_backend/runtime_types.dart';
25 import '../js_emitter/code_emitter_task.dart'; 25 import '../js_emitter/code_emitter_task.dart';
(...skipping 3015 matching lines...) Expand 10 before | Expand all | Expand 10 after
3041 return _closedWorld.anyStrictSubclassOf(cls, (ClassEntity subclass) { 3041 return _closedWorld.anyStrictSubclassOf(cls, (ClassEntity subclass) {
3042 return !_rtiSubstitutions.isTrivialSubstitution(subclass, cls); 3042 return !_rtiSubstitutions.isTrivialSubstitution(subclass, cls);
3043 }); 3043 });
3044 } 3044 }
3045 3045
3046 @override 3046 @override
3047 void visitRef(HRef node) { 3047 void visitRef(HRef node) {
3048 visit(node.value); 3048 visit(node.value);
3049 } 3049 }
3050 } 3050 }
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/ssa/builder_kernel.dart ('k') | pkg/compiler/lib/src/ssa/graph_builder.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698