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

Side by Side Diff: sdk/lib/_internal/compiler/js_lib/js_helper.dart

Issue 829083002: dart2js: Share nativeSuperclassTagName between runtime and compiler. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, 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 _js_helper; 5 library _js_helper;
6 6
7 import 'dart:_js_embedded_names' show 7 import 'dart:_js_embedded_names' show
8 ALL_CLASSES, 8 ALL_CLASSES,
9 GET_ISOLATE_TAG, 9 GET_ISOLATE_TAG,
10 INTERCEPTED_NAMES, 10 INTERCEPTED_NAMES,
11 INTERCEPTORS_BY_TAG, 11 INTERCEPTORS_BY_TAG,
12 LEAF_TAGS, 12 LEAF_TAGS,
13 METADATA, 13 METADATA,
14 DEFERRED_LIBRARY_URIS, 14 DEFERRED_LIBRARY_URIS,
15 DEFERRED_LIBRARY_HASHES, 15 DEFERRED_LIBRARY_HASHES,
16 INITIALIZE_LOADED_HUNK, 16 INITIALIZE_LOADED_HUNK,
17 IS_HUNK_LOADED; 17 IS_HUNK_LOADED,
18 NATIVE_SUPERCLASS_TAG_NAME;
18 19
19 import 'dart:collection'; 20 import 'dart:collection';
20 import 'dart:_isolate_helper' show 21 import 'dart:_isolate_helper' show
21 IsolateNatives, 22 IsolateNatives,
22 leaveJsAsync, 23 leaveJsAsync,
23 enterJsAsync, 24 enterJsAsync,
24 isWorker; 25 isWorker;
25 26
26 import 'dart:async' show Future, DeferredLoadException, Completer; 27 import 'dart:async' show Future, DeferredLoadException, Completer;
27 28
(...skipping 3407 matching lines...) Expand 10 before | Expand all | Expand 10 after
3435 throw new MainError("No top-level function named 'main'."); 3436 throw new MainError("No top-level function named 'main'.");
3436 } 3437 }
3437 3438
3438 void badMain() { 3439 void badMain() {
3439 throw new MainError("'main' is not a function."); 3440 throw new MainError("'main' is not a function.");
3440 } 3441 }
3441 3442
3442 void mainHasTooManyParameters() { 3443 void mainHasTooManyParameters() {
3443 throw new MainError("'main' expects too many parameters."); 3444 throw new MainError("'main' expects too many parameters.");
3444 } 3445 }
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/js_emitter/old_emitter/emitter.dart ('k') | sdk/lib/_internal/compiler/js_lib/native_helper.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698