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

Unified Diff: pkg/compiler/lib/src/js_backend/namer.dart

Issue 1158423005: Move IS_INDEXABLE_FIELD to JsGetName. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 5 years, 6 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 | « no previous file | pkg/compiler/lib/src/ssa/builder.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/compiler/lib/src/js_backend/namer.dart
diff --git a/pkg/compiler/lib/src/js_backend/namer.dart b/pkg/compiler/lib/src/js_backend/namer.dart
index 06267f89d3c7bb90e92511f99c891435829cd487..83c34a1af08a3db59e6aedf0767c24080e17c978 100644
--- a/pkg/compiler/lib/src/js_backend/namer.dart
+++ b/pkg/compiler/lib/src/js_backend/namer.dart
@@ -448,6 +448,9 @@ class Namer {
return functionTypeOptionalParametersTag;
case JsGetName.FUNCTION_TYPE_NAMED_PARAMETERS_TAG:
return functionTypeNamedParametersTag;
+ case JsGetName.IS_INDEXABLE_FIELD_NAME:
+ Element cls = backend.findHelper('JavaScriptIndexingBehavior');
+ return operatorIs(cls);
default:
compiler.reportError(
node, MessageKind.GENERIC,
« no previous file with comments | « no previous file | pkg/compiler/lib/src/ssa/builder.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698