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

Unified Diff: sdk/lib/_internal/js_runtime/lib/shared/embedded_names.dart

Issue 2700053003: Don't use magic strings/properties to communicate between compiler and runtime. (Closed)
Patch Set: Small cleanup. Created 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sdk/lib/_internal/js_runtime/lib/js_rti.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/_internal/js_runtime/lib/shared/embedded_names.dart
diff --git a/sdk/lib/_internal/js_runtime/lib/shared/embedded_names.dart b/sdk/lib/_internal/js_runtime/lib/shared/embedded_names.dart
index 54e7935bc249fb989ff16b90476ab5ce18bca55e..0d53b50901d1b7a068c8978611c7d12ea9f806a5 100644
--- a/sdk/lib/_internal/js_runtime/lib/shared/embedded_names.dart
+++ b/sdk/lib/_internal/js_runtime/lib/shared/embedded_names.dart
@@ -317,8 +317,12 @@ enum JsGetName {
OPERATOR_AS_PREFIX,
/// Name used for generated function types on classes and methods.
SIGNATURE_NAME,
+ /// Name used to store runtime-type information.
+ RTI_NAME,
/// Name used to tag typedefs.
TYPEDEF_TAG,
+ /// Name used to tag a function type.
+ FUNCTION_TYPE_TAG,
/// Name used to tag void return in function type representations in
/// JavaScript.
FUNCTION_TYPE_VOID_RETURN_TAG,
« no previous file with comments | « sdk/lib/_internal/js_runtime/lib/js_rti.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698