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

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

Issue 1284593003: Remove dart2jslib.dart (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: 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;
11 import 'package:js_runtime/shared/embedded_names.dart' show 11 import 'package:js_runtime/shared/embedded_names.dart' show
12 JsBuiltin, 12 JsBuiltin,
13 JsGetName; 13 JsGetName;
14 14
15 import '../headers.dart'; 15 import '../headers.dart';
16 16
17 import '../js_emitter.dart' hide Emitter; 17 import '../js_emitter.dart' hide Emitter;
18 import '../js_emitter.dart' as js_emitter show Emitter; 18 import '../js_emitter.dart' as js_emitter show Emitter;
19 19
20 import '../model.dart'; 20 import '../model.dart';
21 import '../program_builder/program_builder.dart'; 21 import '../program_builder/program_builder.dart';
22 22
23 import '../../common.dart'; 23 import '../../common.dart';
24 24
25 import '../../constants/values.dart'; 25 import '../../constants/values.dart';
26 26
27 import '../../deferred_load.dart' show OutputUnit; 27 import '../../deferred_load.dart' show OutputUnit;
28 28
29 import '../../diagnostics/spannable.dart' show
30 NO_LOCATION_SPANNABLE;
31
29 import '../../elements/elements.dart' show 32 import '../../elements/elements.dart' show
30 ConstructorBodyElement, 33 ConstructorBodyElement,
31 ElementKind, 34 ElementKind,
32 FieldElement, 35 FieldElement,
33 ParameterElement, 36 ParameterElement,
34 TypeVariableElement, 37 TypeVariableElement,
35 MethodElement, 38 MethodElement,
36 MemberElement; 39 MemberElement;
37 40
38 import '../../hash/sha1.dart' show Hasher; 41 import '../../hash/sha1.dart' show Hasher;
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 $HASH, 76 $HASH,
74 $PERIOD, 77 $PERIOD,
75 $Z, 78 $Z,
76 $a, 79 $a,
77 $z; 80 $z;
78 81
79 import '../../util/uri_extras.dart' show 82 import '../../util/uri_extras.dart' show
80 relativize; 83 relativize;
81 84
82 import '../../util/util.dart' show 85 import '../../util/util.dart' show
83 NO_LOCATION_SPANNABLE,
84 equalElements; 86 equalElements;
85 87
86 part 'class_builder.dart'; 88 part 'class_builder.dart';
87 part 'class_emitter.dart'; 89 part 'class_emitter.dart';
88 part 'code_emitter_helper.dart'; 90 part 'code_emitter_helper.dart';
89 part 'container_builder.dart'; 91 part 'container_builder.dart';
90 part 'declarations.dart'; 92 part 'declarations.dart';
91 part 'deferred_output_unit_hash.dart'; 93 part 'deferred_output_unit_hash.dart';
92 part 'interceptor_emitter.dart'; 94 part 'interceptor_emitter.dart';
93 part 'nsm_emitter.dart'; 95 part 'nsm_emitter.dart';
(...skipping 2023 matching lines...) Expand 10 before | Expand all | Expand 10 after
2117 for (Element element in compiler.enqueuer.codegen.newlyEnqueuedElements) { 2119 for (Element element in compiler.enqueuer.codegen.newlyEnqueuedElements) {
2118 if (element.isInstanceMember) { 2120 if (element.isInstanceMember) {
2119 cachedClassBuilders.remove(element.enclosingClass); 2121 cachedClassBuilders.remove(element.enclosingClass);
2120 2122
2121 nativeEmitter.cachedBuilders.remove(element.enclosingClass); 2123 nativeEmitter.cachedBuilders.remove(element.enclosingClass);
2122 2124
2123 } 2125 }
2124 } 2126 }
2125 } 2127 }
2126 } 2128 }
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/js_backend/patch_resolver.dart ('k') | pkg/compiler/lib/src/js_emitter/headers.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698