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

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

Issue 1284673003: Move dart2jslib parts into separate libraries. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Fix try. Created 5 years, 4 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 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 JavaScriptBackend, 58 JavaScriptBackend,
59 JavaScriptConstantCompiler, 59 JavaScriptConstantCompiler,
60 Namer, 60 Namer,
61 RuntimeTypes, 61 RuntimeTypes,
62 SetterName, 62 SetterName,
63 Substitution, 63 Substitution,
64 TypeCheck, 64 TypeCheck,
65 TypeChecks, 65 TypeChecks,
66 TypeVariableHandler; 66 TypeVariableHandler;
67 67
68 import '../../messages.dart' show MessageKind;
69
68 import '../../util/characters.dart' show 70 import '../../util/characters.dart' show
69 $$, 71 $$,
70 $A, 72 $A,
71 $HASH, 73 $HASH,
72 $PERIOD, 74 $PERIOD,
73 $Z, 75 $Z,
74 $a, 76 $a,
75 $z; 77 $z;
76 78
77 import '../../util/uri_extras.dart' show 79 import '../../util/uri_extras.dart' show
(...skipping 2037 matching lines...) Expand 10 before | Expand all | Expand 10 after
2115 for (Element element in compiler.enqueuer.codegen.newlyEnqueuedElements) { 2117 for (Element element in compiler.enqueuer.codegen.newlyEnqueuedElements) {
2116 if (element.isInstanceMember) { 2118 if (element.isInstanceMember) {
2117 cachedClassBuilders.remove(element.enclosingClass); 2119 cachedClassBuilders.remove(element.enclosingClass);
2118 2120
2119 nativeEmitter.cachedBuilders.remove(element.enclosingClass); 2121 nativeEmitter.cachedBuilders.remove(element.enclosingClass);
2120 2122
2121 } 2123 }
2122 } 2124 }
2123 } 2125 }
2124 } 2126 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698