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

Unified Diff: pkg/compiler/lib/src/js_backend/codegen/glue.dart

Issue 1151443002: dart2js cps: Fix in how type variables are accessed. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 7 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/codegen/glue.dart
diff --git a/pkg/compiler/lib/src/js_backend/codegen/glue.dart b/pkg/compiler/lib/src/js_backend/codegen/glue.dart
index 391da3d45305c14709904cb1994863f41ada9704..277cf6e1c891c8a3c75111b1b632926eb499daf6 100644
--- a/pkg/compiler/lib/src/js_backend/codegen/glue.dart
+++ b/pkg/compiler/lib/src/js_backend/codegen/glue.dart
@@ -159,7 +159,7 @@ class Glue {
return _backend.getRuntimeTypeToString();
}
- FunctionElement getTypeArgumentWithSubstitution() {
+ FunctionElement getRuntimeTypeArgument() {
return _backend.getGetRuntimeTypeArgument();
}
@@ -171,8 +171,8 @@ class Glue {
return _backend.getSetRuntimeTypeInfo();
}
- js.Expression getSubstitutionName(ClassElement cls) {
- return js.string(_namer.substitutionName(cls));
+ js.Expression getRuntimeTypeName(ClassElement cls) {
+ return js.string(_namer.runtimeTypeName(cls));
}
int getTypeVariableIndex(TypeVariableType variable) {
« no previous file with comments | « pkg/compiler/lib/src/js_backend/codegen/codegen.dart ('k') | tests/compiler/dart2js/js_backend_cps_ir_runtime_types_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698