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

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

Issue 1913033002: dart2js: Pass type information to constructor rather than add later. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: rebase Created 4 years, 4 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/namer.dart
diff --git a/pkg/compiler/lib/src/js_backend/namer.dart b/pkg/compiler/lib/src/js_backend/namer.dart
index 303f52c507e8a3ae5700ba57c116070f9386936e..0d43e7b05b6291cf873de576faf28f83dd31a5bd 100644
--- a/pkg/compiler/lib/src/js_backend/namer.dart
+++ b/pkg/compiler/lib/src/js_backend/namer.dart
@@ -392,6 +392,9 @@ class Namer {
jsAst.Name get staticsPropertyName =>
_staticsPropertyName ??= new StringBackedName('static');
+ jsAst.Name _rtiFieldName;
+ jsAst.Name get rtiFieldName => _rtiFieldName ??= new StringBackedName(r'$ti');
+
// Name of property in a class description for the native dispatch metadata.
final String nativeSpecProperty = '%';

Powered by Google App Engine
This is Rietveld 408576698