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

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

Issue 981143003: dart2js: split out types from metadata. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Addressed comments. Created 5 years, 9 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
« no previous file with comments | « sdk/lib/_internal/compiler/js_lib/js_mirrors.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) 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 /// Contains the names of globals that are embedded into the output by the 5 /// Contains the names of globals that are embedded into the output by the
6 /// compiler. 6 /// compiler.
7 /// 7 ///
8 /// Variables embedded this way should be access with `JS_EMBEDDED_GLOBAL` from 8 /// Variables embedded this way should be access with `JS_EMBEDDED_GLOBAL` from
9 /// the `_foreign_helper` library. 9 /// the `_foreign_helper` library.
10 /// 10 ///
(...skipping 28 matching lines...) Expand all
39 const ISOLATE_TAG = 'isolateTag'; 39 const ISOLATE_TAG = 'isolateTag';
40 const CURRENT_SCRIPT = 'currentScript'; 40 const CURRENT_SCRIPT = 'currentScript';
41 const DEFERRED_LIBRARY_URIS = 'deferredLibraryUris'; 41 const DEFERRED_LIBRARY_URIS = 'deferredLibraryUris';
42 const DEFERRED_LIBRARY_HASHES = 'deferredLibraryHashes'; 42 const DEFERRED_LIBRARY_HASHES = 'deferredLibraryHashes';
43 const INITIALIZE_LOADED_HUNK = 'initializeLoadedHunk'; 43 const INITIALIZE_LOADED_HUNK = 'initializeLoadedHunk';
44 const IS_HUNK_LOADED = 'isHunkLoaded'; 44 const IS_HUNK_LOADED = 'isHunkLoaded';
45 const IS_HUNK_INITIALIZED = 'isHunkInitialized'; 45 const IS_HUNK_INITIALIZED = 'isHunkInitialized';
46 const DEFERRED_INITIALIZED = 'deferredInitialized'; 46 const DEFERRED_INITIALIZED = 'deferredInitialized';
47 const PRECOMPILED = 'precompiled'; 47 const PRECOMPILED = 'precompiled';
48 48
49 /// A list of types used in the program e.g. for reflection or encoding of
50 /// function types.
51 const TYPES = 'types';
52
49 /// Returns a function that creates a new Isolate (its static state). 53 /// Returns a function that creates a new Isolate (its static state).
50 /// 54 ///
51 /// (floitsch): Note that this will probably go away, since one JS heap will 55 /// (floitsch): Note that this will probably go away, since one JS heap will
52 /// only contain one Dart isolate. 56 /// only contain one Dart isolate.
53 const CREATE_NEW_ISOLATE = 'createNewIsolate'; 57 const CREATE_NEW_ISOLATE = 'createNewIsolate';
54 58
55 const CLASS_ID_EXTRACTOR = 'classIdExtractor'; 59 const CLASS_ID_EXTRACTOR = 'classIdExtractor';
56 const CLASS_FIELDS_EXTRACTOR = 'classFieldsExtractor'; 60 const CLASS_FIELDS_EXTRACTOR = 'classFieldsExtractor';
57 const INSTANCE_FROM_CLASS_ID = "instanceFromClassId"; 61 const INSTANCE_FROM_CLASS_ID = "instanceFromClassId";
58 const INITIALIZE_EMPTY_INSTANCE = "initializeEmptyInstance"; 62 const INITIALIZE_EMPTY_INSTANCE = "initializeEmptyInstance";
(...skipping 12 matching lines...) Expand all
71 GETTER_PREFIX, 75 GETTER_PREFIX,
72 SETTER_PREFIX, 76 SETTER_PREFIX,
73 CALL_PREFIX, 77 CALL_PREFIX,
74 CALL_CATCH_ALL, 78 CALL_CATCH_ALL,
75 REFLECTABLE, 79 REFLECTABLE,
76 CLASS_DESCRIPTOR_PROPERTY, 80 CLASS_DESCRIPTOR_PROPERTY,
77 REQUIRED_PARAMETER_PROPERTY, 81 REQUIRED_PARAMETER_PROPERTY,
78 DEFAULT_VALUES_PROPERTY, 82 DEFAULT_VALUES_PROPERTY,
79 CALL_NAME_PROPERTY 83 CALL_NAME_PROPERTY
80 } 84 }
OLDNEW
« no previous file with comments | « sdk/lib/_internal/compiler/js_lib/js_mirrors.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698