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

Side by Side Diff: pkg/compiler/lib/src/js_emitter/full_emitter/emitter.dart

Issue 1617083002: Base JavaScript code position computation on JavaScript tracer. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 4 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) 2014, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2014, 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 library dart2js.js_emitter.full_emitter; 5 library dart2js.js_emitter.full_emitter;
6 6
7 import 'dart:convert'; 7 import 'dart:convert';
8 import 'dart:collection' show HashMap; 8 import 'dart:collection' show HashMap;
9 9
10 import 'package:js_runtime/shared/embedded_names.dart' as embeddedNames; 10 import 'package:js_runtime/shared/embedded_names.dart' as embeddedNames;
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 GetterName, 67 GetterName,
68 JavaScriptBackend, 68 JavaScriptBackend,
69 JavaScriptConstantCompiler, 69 JavaScriptConstantCompiler,
70 Namer, 70 Namer,
71 RuntimeTypes, 71 RuntimeTypes,
72 SetterName, 72 SetterName,
73 Substitution, 73 Substitution,
74 TypeCheck, 74 TypeCheck,
75 TypeChecks, 75 TypeChecks,
76 TypeVariableHandler; 76 TypeVariableHandler;
77 import '../../js/js_debug.dart';
77 import '../../universe/call_structure.dart' show 78 import '../../universe/call_structure.dart' show
78 CallStructure; 79 CallStructure;
79 import '../../universe/selector.dart' show 80 import '../../universe/selector.dart' show
80 Selector; 81 Selector;
81 import '../../util/characters.dart' show 82 import '../../util/characters.dart' show
82 $$, 83 $$,
83 $A, 84 $A,
84 $HASH, 85 $HASH,
85 $PERIOD, 86 $PERIOD,
86 $Z, 87 $Z,
(...skipping 2056 matching lines...) Expand 10 before | Expand all | Expand 10 after
2143 for (Element element in compiler.enqueuer.codegen.newlyEnqueuedElements) { 2144 for (Element element in compiler.enqueuer.codegen.newlyEnqueuedElements) {
2144 if (element.isInstanceMember) { 2145 if (element.isInstanceMember) {
2145 cachedClassBuilders.remove(element.enclosingClass); 2146 cachedClassBuilders.remove(element.enclosingClass);
2146 2147
2147 nativeEmitter.cachedBuilders.remove(element.enclosingClass); 2148 nativeEmitter.cachedBuilders.remove(element.enclosingClass);
2148 2149
2149 } 2150 }
2150 } 2151 }
2151 } 2152 }
2152 } 2153 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698