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

Unified Diff: sdk/lib/_internal/compiler/implementation/js_backend/namer.dart

Issue 12210142: Implement is-checks against type variables. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Do not emit Object.isObject. Created 7 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
Index: sdk/lib/_internal/compiler/implementation/js_backend/namer.dart
diff --git a/sdk/lib/_internal/compiler/implementation/js_backend/namer.dart b/sdk/lib/_internal/compiler/implementation/js_backend/namer.dart
index aca3e61781a6d35afb2f7cd16acd7bb0e04dda7d..80808281fb4ad0b856177955cf54e005a2dc0947 100644
--- a/sdk/lib/_internal/compiler/implementation/js_backend/namer.dart
+++ b/sdk/lib/_internal/compiler/implementation/js_backend/namer.dart
@@ -681,6 +681,8 @@ class Namer implements ClosureNamer {
return '${operatorIsPrefix()}${getName(element)}';
}
+ String getNativeCheckName() => r'$nativeCheck';
+
/*
* Returns a name that does not clash with reserved JS keywords,
* and also ensures it won't clash with other identifiers.

Powered by Google App Engine
This is Rietveld 408576698