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

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

Issue 2606253002: Move dart_types to elements/resolution_types (Closed)
Patch Set: Created 3 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:collection' show HashMap; 7 import 'dart:collection' show HashMap;
8 import 'dart:convert'; 8 import 'dart:convert';
9 9
10 import 'package:js_runtime/shared/embedded_names.dart' as embeddedNames; 10 import 'package:js_runtime/shared/embedded_names.dart' as embeddedNames;
11 import 'package:js_runtime/shared/embedded_names.dart' 11 import 'package:js_runtime/shared/embedded_names.dart'
12 show JsBuiltin, JsGetName; 12 show JsBuiltin, JsGetName;
13 13
14 import '../../common.dart'; 14 import '../../common.dart';
15 import '../../common/names.dart' show Names; 15 import '../../common/names.dart' show Names;
16 import '../../compiler.dart' show Compiler; 16 import '../../compiler.dart' show Compiler;
17 import '../../constants/values.dart'; 17 import '../../constants/values.dart';
18 import '../../core_types.dart' show CommonElements; 18 import '../../core_types.dart' show CommonElements;
19 import '../../dart_types.dart' show DartType; 19 import '../../elements/resolution_types.dart' show DartType;
20 import '../../deferred_load.dart' show OutputUnit; 20 import '../../deferred_load.dart' show OutputUnit;
21 import '../../elements/elements.dart' 21 import '../../elements/elements.dart'
22 show 22 show
23 ClassElement, 23 ClassElement,
24 Element, 24 Element,
25 Elements, 25 Elements,
26 FieldElement, 26 FieldElement,
27 FunctionElement, 27 FunctionElement,
28 FunctionSignature, 28 FunctionSignature,
29 LibraryElement, 29 LibraryElement,
(...skipping 2149 matching lines...) Expand 10 before | Expand all | Expand 10 after
2179 if (cachedElements.isEmpty) return; 2179 if (cachedElements.isEmpty) return;
2180 for (Element element in backend.codegenEnqueuer.newlyEnqueuedElements) { 2180 for (Element element in backend.codegenEnqueuer.newlyEnqueuedElements) {
2181 if (element.isInstanceMember) { 2181 if (element.isInstanceMember) {
2182 cachedClassBuilders.remove(element.enclosingClass); 2182 cachedClassBuilders.remove(element.enclosingClass);
2183 2183
2184 nativeEmitter.cachedBuilders.remove(element.enclosingClass); 2184 nativeEmitter.cachedBuilders.remove(element.enclosingClass);
2185 } 2185 }
2186 } 2186 }
2187 } 2187 }
2188 } 2188 }
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/js_emitter/constant_ordering.dart ('k') | pkg/compiler/lib/src/js_emitter/js_emitter.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698