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

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

Issue 1032013002: dart2js: Optimize Function.apply for 0-3 argument calls. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Address comment. 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_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 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 /// This function is called by the runtime when computing rti. 68 /// This function is called by the runtime when computing rti.
69 const GET_TYPE_FROM_NAME = 'getTypeFromName'; 69 const GET_TYPE_FROM_NAME = 'getTypeFromName';
70 const TYPE_TO_INTERCEPTOR_MAP = "typeToInterceptorMap"; 70 const TYPE_TO_INTERCEPTOR_MAP = "typeToInterceptorMap";
71 71
72 /// Names that are supported by [JS_GET_NAME]. 72 /// Names that are supported by [JS_GET_NAME].
73 // TODO(herhut): Make entries lower case (as in fields) and find a better name. 73 // TODO(herhut): Make entries lower case (as in fields) and find a better name.
74 enum JsGetName { 74 enum JsGetName {
75 GETTER_PREFIX, 75 GETTER_PREFIX,
76 SETTER_PREFIX, 76 SETTER_PREFIX,
77 CALL_PREFIX, 77 CALL_PREFIX,
78 CALL_PREFIX0,
79 CALL_PREFIX1,
80 CALL_PREFIX2,
81 CALL_PREFIX3,
78 CALL_CATCH_ALL, 82 CALL_CATCH_ALL,
79 REFLECTABLE, 83 REFLECTABLE,
80 CLASS_DESCRIPTOR_PROPERTY, 84 CLASS_DESCRIPTOR_PROPERTY,
81 REQUIRED_PARAMETER_PROPERTY, 85 REQUIRED_PARAMETER_PROPERTY,
82 DEFAULT_VALUES_PROPERTY, 86 DEFAULT_VALUES_PROPERTY,
83 CALL_NAME_PROPERTY 87 CALL_NAME_PROPERTY
84 } 88 }
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