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

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

Issue 1762723002: Cleanup 1: split parts into their own libraries, remove unused imports (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 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) 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';
78 import '../../universe/call_structure.dart' show 77 import '../../universe/call_structure.dart' show
79 CallStructure; 78 CallStructure;
80 import '../../universe/selector.dart' show 79 import '../../universe/selector.dart' show
81 Selector; 80 Selector;
82 import '../../util/characters.dart' show 81 import '../../util/characters.dart' show
83 $$, 82 $$,
84 $A, 83 $A,
85 $HASH, 84 $HASH,
86 $PERIOD, 85 $PERIOD,
87 $Z, 86 $Z,
(...skipping 2054 matching lines...) Expand 10 before | Expand all | Expand 10 after
2142 for (Element element in compiler.enqueuer.codegen.newlyEnqueuedElements) { 2141 for (Element element in compiler.enqueuer.codegen.newlyEnqueuedElements) {
2143 if (element.isInstanceMember) { 2142 if (element.isInstanceMember) {
2144 cachedClassBuilders.remove(element.enclosingClass); 2143 cachedClassBuilders.remove(element.enclosingClass);
2145 2144
2146 nativeEmitter.cachedBuilders.remove(element.enclosingClass); 2145 nativeEmitter.cachedBuilders.remove(element.enclosingClass);
2147 2146
2148 } 2147 }
2149 } 2148 }
2150 } 2149 }
2151 } 2150 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698