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

Side by Side Diff: pkg/compiler/lib/src/js_emitter/startup_emitter/model_emitter.dart

Issue 1250023002: dart2js: Add an empty "MANGLED_NAMES" embedded global to the startup-emitter. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 5 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
« no previous file with comments | « pkg/compiler/lib/src/js_emitter/startup_emitter/fragment_emitter.dart ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2015, 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.startup_emitter.model_emitter; 5 library dart2js.js_emitter.startup_emitter.model_emitter;
6 6
7 import 'dart:convert' show JsonEncoder; 7 import 'dart:convert' show JsonEncoder;
8 8
9 import '../../common.dart'; 9 import '../../common.dart';
10 10
(...skipping 30 matching lines...) Expand all
41 DEFERRED_INITIALIZED, 41 DEFERRED_INITIALIZED,
42 DEFERRED_LIBRARY_URIS, 42 DEFERRED_LIBRARY_URIS,
43 DEFERRED_LIBRARY_HASHES, 43 DEFERRED_LIBRARY_HASHES,
44 GET_TYPE_FROM_NAME, 44 GET_TYPE_FROM_NAME,
45 INITIALIZE_LOADED_HUNK, 45 INITIALIZE_LOADED_HUNK,
46 INTERCEPTORS_BY_TAG, 46 INTERCEPTORS_BY_TAG,
47 IS_HUNK_INITIALIZED, 47 IS_HUNK_INITIALIZED,
48 IS_HUNK_LOADED, 48 IS_HUNK_LOADED,
49 LEAF_TAGS, 49 LEAF_TAGS,
50 MANGLED_GLOBAL_NAMES, 50 MANGLED_GLOBAL_NAMES,
51 MANGLED_NAMES,
51 METADATA, 52 METADATA,
52 NATIVE_SUPERCLASS_TAG_NAME, 53 NATIVE_SUPERCLASS_TAG_NAME,
53 TYPE_TO_INTERCEPTOR_MAP, 54 TYPE_TO_INTERCEPTOR_MAP,
54 TYPES; 55 TYPES;
55 56
56 import '../js_emitter.dart' show NativeGenerator, buildTearOffCode; 57 import '../js_emitter.dart' show NativeGenerator, buildTearOffCode;
57 import '../model.dart'; 58 import '../model.dart';
58 59
59 part 'deferred_fragment_hash.dart'; 60 part 'deferred_fragment_hash.dart';
60 part 'fragment_emitter.dart'; 61 part 'fragment_emitter.dart';
(...skipping 322 matching lines...) Expand 10 before | Expand all | Expand 10 after
383 // Json does not support comments, so we embed the explanation in the 384 // Json does not support comments, so we embed the explanation in the
384 // data. 385 // data.
385 mapping["_comment"] = "This mapping shows which compiled `.js` files are " 386 mapping["_comment"] = "This mapping shows which compiled `.js` files are "
386 "needed for a given deferred library import."; 387 "needed for a given deferred library import.";
387 mapping.addAll(compiler.deferredLoadTask.computeDeferredMap()); 388 mapping.addAll(compiler.deferredLoadTask.computeDeferredMap());
388 compiler.outputProvider(compiler.deferredMapUri.path, 'deferred_map') 389 compiler.outputProvider(compiler.deferredMapUri.path, 'deferred_map')
389 ..add(const JsonEncoder.withIndent(" ").convert(mapping)) 390 ..add(const JsonEncoder.withIndent(" ").convert(mapping))
390 ..close(); 391 ..close();
391 } 392 }
392 } 393 }
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/js_emitter/startup_emitter/fragment_emitter.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698