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

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

Issue 891673003: dart2js: Refactoring, documentation, and a few bugfixes in Namer class. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Typo and TODO about clash in named parameters Created 5 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
Index: pkg/compiler/lib/src/js_backend/runtime_types.dart
diff --git a/pkg/compiler/lib/src/js_backend/runtime_types.dart b/pkg/compiler/lib/src/js_backend/runtime_types.dart
index f8aa7b15c6a930dd527ffd4505ed05a4db4772ae..24bc4e1a596fd8468dca0c258dd8d43ac563358b 100644
--- a/pkg/compiler/lib/src/js_backend/runtime_types.dart
+++ b/pkg/compiler/lib/src/js_backend/runtime_types.dart
@@ -33,7 +33,7 @@ class RuntimeTypes {
JavaScriptBackend get backend => compiler.backend;
String get getFunctionThatReturnsNullName
- => backend.namer.getMappedInstanceName('functionThatReturnsNull');
+ => backend.namer.internGlobal('functionThatReturnsNull');
RuntimeTypes(Compiler compiler)
: this.compiler = compiler,

Powered by Google App Engine
This is Rietveld 408576698