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

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

Issue 869953002: dart2js: add type lookup in the new emitter. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Indent Created 5 years, 10 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_helper.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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 const DEFERRED_INITIALIZED = 'deferredInitialized'; 43 const DEFERRED_INITIALIZED = 'deferredInitialized';
44 const CLASS_ID_EXTRACTOR = 'classIdExtractor'; 44 const CLASS_ID_EXTRACTOR = 'classIdExtractor';
45 const CLASS_FIELDS_EXTRACTOR = 'classFieldsExtractor'; 45 const CLASS_FIELDS_EXTRACTOR = 'classFieldsExtractor';
46 const INSTANCE_FROM_CLASS_ID = "instanceFromClassId"; 46 const INSTANCE_FROM_CLASS_ID = "instanceFromClassId";
47 const INITIALIZE_EMPTY_INSTANCE = "initializeEmptyInstance"; 47 const INITIALIZE_EMPTY_INSTANCE = "initializeEmptyInstance";
48 const TYPEDEF_TYPE_PROPERTY_NAME = r"$typedefType"; 48 const TYPEDEF_TYPE_PROPERTY_NAME = r"$typedefType";
49 const TYPEDEF_PREDICATE_PROPERTY_NAME = r"$$isTypedef"; 49 const TYPEDEF_PREDICATE_PROPERTY_NAME = r"$$isTypedef";
50 const NATIVE_SUPERCLASS_TAG_NAME = r"$nativeSuperclassTag"; 50 const NATIVE_SUPERCLASS_TAG_NAME = r"$nativeSuperclassTag";
51 51
52 const MAP_TYPE_TO_INTERCEPTOR = "mapTypeToInterceptor"; 52 const MAP_TYPE_TO_INTERCEPTOR = "mapTypeToInterceptor";
53
54 /**
55 * Returns the type given the name of a class.
56 * This function is called by the runtime when computing rti.
57 */
58 const GET_TYPE_FROM_NAME = 'getTypeFromName';
OLDNEW
« no previous file with comments | « sdk/lib/_internal/compiler/js_lib/js_helper.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698