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

Side by Side Diff: pkg/compiler/lib/src/js_backend/backend.dart

Issue 1220333003: dart2js: Rename emitters. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 5 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
« no previous file with comments | « pkg/compiler/lib/src/js/js.dart ('k') | pkg/compiler/lib/src/js_backend/js_backend.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 part of js_backend; 5 part of js_backend;
6 6
7 const VERBOSE_OPTIMIZER_HINTS = false; 7 const VERBOSE_OPTIMIZER_HINTS = false;
8 8
9 class JavaScriptItemCompilationContext extends ItemCompilationContext { 9 class JavaScriptItemCompilationContext extends ItemCompilationContext {
10 final Set<HInstruction> boundsChecked = new Set<HInstruction>(); 10 final Set<HInstruction> boundsChecked = new Set<HInstruction>();
(...skipping 224 matching lines...) Expand 10 before | Expand all | Expand 10 after
235 new Uri(scheme: 'dart', path: '_js_embedded_names'); 235 new Uri(scheme: 'dart', path: '_js_embedded_names');
236 static final Uri DART_ISOLATE_HELPER = 236 static final Uri DART_ISOLATE_HELPER =
237 new Uri(scheme: 'dart', path: '_isolate_helper'); 237 new Uri(scheme: 'dart', path: '_isolate_helper');
238 static final Uri DART_HTML = 238 static final Uri DART_HTML =
239 new Uri(scheme: 'dart', path: 'html'); 239 new Uri(scheme: 'dart', path: 'html');
240 240
241 static const String INVOKE_ON = '_getCachedInvocation'; 241 static const String INVOKE_ON = '_getCachedInvocation';
242 static const String START_ROOT_ISOLATE = 'startRootIsolate'; 242 static const String START_ROOT_ISOLATE = 'startRootIsolate';
243 243
244 244
245 String get patchVersion => USE_NEW_EMITTER ? 'new' : 'old'; 245 String get patchVersion => USE_LAZY_EMITTER ? 'lazy' : 'full';
246 246
247 final Annotations annotations; 247 final Annotations annotations;
248 248
249 /// Reference to the internal library to lookup functions to always inline. 249 /// Reference to the internal library to lookup functions to always inline.
250 LibraryElement internalLibrary; 250 LibraryElement internalLibrary;
251 251
252 252
253 /// Set of classes that need to be considered for reflection although not 253 /// Set of classes that need to be considered for reflection although not
254 /// otherwise visible during resolution. 254 /// otherwise visible during resolution.
255 Iterable<ClassElement> get classesRequiredForReflection { 255 Iterable<ClassElement> get classesRequiredForReflection {
(...skipping 2749 matching lines...) Expand 10 before | Expand all | Expand 10 after
3005 } 3005 }
3006 } 3006 }
3007 3007
3008 /// Records that [constant] is used by the element behind [registry]. 3008 /// Records that [constant] is used by the element behind [registry].
3009 class Dependency { 3009 class Dependency {
3010 final ConstantValue constant; 3010 final ConstantValue constant;
3011 final Element annotatedElement; 3011 final Element annotatedElement;
3012 3012
3013 const Dependency(this.constant, this.annotatedElement); 3013 const Dependency(this.constant, this.annotatedElement);
3014 } 3014 }
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/js/js.dart ('k') | pkg/compiler/lib/src/js_backend/js_backend.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698