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

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

Issue 151993003: Remove emission of generic type checks. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 11 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 | sdk/lib/_internal/compiler/implementation/js_emitter/type_test_emitter.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 f3b4ff7a711deec2c796832b366b37a32ef189fe..0ed94080a932587d9f0fc7abaf411583e98f314e 100644
--- a/sdk/lib/_internal/compiler/implementation/js_backend/namer.dart
+++ b/sdk/lib/_internal/compiler/implementation/js_backend/namer.dart
@@ -951,18 +951,6 @@ class Namer implements ClosureNamer {
return '${operatorAsPrefix()}${getNameForRti(element)}';
}
- String signatureLocation(FunctionType type) {
- ClassElement classElement = Types.getClassContext(type);
- return (classElement != null)
- ? '${isolateAccess(classElement)}'
- : currentIsolate;
- }
-
- String signatureName(FunctionType type) {
- String signature = '${operatorSignature()}_${getFunctionTypeName(type)}';
- return '${signatureLocation(type)}.$signature';
- }
-
String safeName(String name) => _safeName(name, jsReserved);
String safeVariableName(String name) => _safeName(name, jsVariableReserved);
« no previous file with comments | « no previous file | sdk/lib/_internal/compiler/implementation/js_emitter/type_test_emitter.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698