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

Unified Diff: sdk/lib/_internal/js_runtime/lib/js_rti.dart

Issue 2306813003: Rename $builtinType to $ti (Closed)
Patch Set: reformat Created 4 years, 3 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 | « pkg/compiler/lib/src/ssa/codegen.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/_internal/js_runtime/lib/js_rti.dart
diff --git a/sdk/lib/_internal/js_runtime/lib/js_rti.dart b/sdk/lib/_internal/js_runtime/lib/js_rti.dart
index 3ec79b8954b00709301dd46b2755bded6e17f0ef..497666ff289767325966bbe25606c3709f195043 100644
--- a/sdk/lib/_internal/js_runtime/lib/js_rti.dart
+++ b/sdk/lib/_internal/js_runtime/lib/js_rti.dart
@@ -96,7 +96,7 @@ getMangledTypeName(TypeImpl type) => type._typeName;
@NoInline()
Object setRuntimeTypeInfo(Object target, var rti) {
assert(rti == null || isJsArray(rti));
- JS('var', r'#.$builtinTypeInfo = #', target, rti);
+ JS('var', r'#.$ti = #', target, rti);
return target;
}
@@ -106,7 +106,7 @@ Object setRuntimeTypeInfo(Object target, var rti) {
*/
getRuntimeTypeInfo(Object target) {
if (target == null) return null;
- return JS('var', r'#.$builtinTypeInfo', target);
+ return JS('var', r'#.$ti', target);
}
/**
@@ -212,7 +212,7 @@ String joinArguments(var types, int startIndex,
String getRuntimeTypeString(var object) {
String className = getClassName(object);
if (object == null) return className;
- var rti = JS('var', r'#.$builtinTypeInfo', object);
+ var rti = JS('var', r'#.$ti', object);
return "$className${joinArguments(rti, 0)}";
}
« no previous file with comments | « pkg/compiler/lib/src/ssa/codegen.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698