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

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

Issue 2732633002: Remove Enqueuer.nativeEnqueuer (Closed)
Patch Set: Created 3 years, 9 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 '../common.dart'; 6 import '../common.dart';
7 import '../common/codegen.dart' show CodegenRegistry, CodegenWorkItem; 7 import '../common/codegen.dart' show CodegenRegistry, CodegenWorkItem;
8 import '../common/tasks.dart' show CompilerTask; 8 import '../common/tasks.dart' show CompilerTask;
9 import '../compiler.dart' show Compiler; 9 import '../compiler.dart' show Compiler;
10 import '../constants/constant_system.dart'; 10 import '../constants/constant_system.dart';
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after
191 continueAction = new Map<Entity, EntityAction>(); 191 continueAction = new Map<Entity, EntityAction>();
192 192
193 Compiler get compiler => backend.compiler; 193 Compiler get compiler => backend.compiler;
194 194
195 NativeEmitter get nativeEmitter => backend.emitter.nativeEmitter; 195 NativeEmitter get nativeEmitter => backend.emitter.nativeEmitter;
196 196
197 CodegenRegistry get registry => work.registry; 197 CodegenRegistry get registry => work.registry;
198 198
199 BackendHelpers get helpers => backend.helpers; 199 BackendHelpers get helpers => backend.helpers;
200 200
201 native.NativeEnqueuer get nativeEnqueuer { 201 native.NativeCodegenEnqueuer get nativeEnqueuer {
202 return compiler.enqueuer.codegen.nativeEnqueuer; 202 return backend.nativeCodegenEnqueuer;
203 } 203 }
204 204
205 DiagnosticReporter get reporter => compiler.reporter; 205 DiagnosticReporter get reporter => compiler.reporter;
206 206
207 CommonElements get commonElements => closedWorld.commonElements; 207 CommonElements get commonElements => closedWorld.commonElements;
208 208
209 bool isGenerateAtUseSite(HInstruction instruction) { 209 bool isGenerateAtUseSite(HInstruction instruction) {
210 return generateAtUseSite.contains(instruction); 210 return generateAtUseSite.contains(instruction);
211 } 211 }
212 212
(...skipping 2915 matching lines...) Expand 10 before | Expand all | Expand 10 after
3128 registry.registerStaticUse(new StaticUse.staticInvoke( 3128 registry.registerStaticUse(new StaticUse.staticInvoke(
3129 helper, new CallStructure.unnamed(argumentCount))); 3129 helper, new CallStructure.unnamed(argumentCount)));
3130 return backend.emitter.staticFunctionAccess(helper); 3130 return backend.emitter.staticFunctionAccess(helper);
3131 } 3131 }
3132 3132
3133 @override 3133 @override
3134 void visitRef(HRef node) { 3134 void visitRef(HRef node) {
3135 visit(node.value); 3135 visit(node.value);
3136 } 3136 }
3137 } 3137 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698