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

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

Issue 1153603006: dart2js cps: Type casts and related changes to type propagation. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Another typo in SExpression unstrngifier Created 5 years, 6 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 4cdc447abb27603a2590edd995bed678c6cef526..4b850bd7dcb6dd218560a348e4b4db5b36b8f0e4 100644
--- a/pkg/compiler/lib/src/js_backend/codegen/glue.dart
+++ b/pkg/compiler/lib/src/js_backend/codegen/glue.dart
@@ -176,11 +176,21 @@ class Glue {
return _backend.getCheckSubtype();
}
+ /// subtypeCast(value, $isT, typeArgs, $asT)
+ FunctionElement getSubtypeCast() {
+ return _backend.getSubtypeCast();
+ }
+
/// checkSubtypeOfRuntime(value, runtimeType)
- FunctionElement getCheckSubtypeOfRuntime() {
+ FunctionElement getCheckSubtypeOfRuntimeType() {
return _backend.getCheckSubtypeOfRuntimeType();
}
+ /// subtypeOfRuntimeTypeCast(value, runtimeType)
+ FunctionElement getSubtypeOfRuntimeTypeCast() {
+ return _backend.getSubtypeOfRuntimeTypeCast();
+ }
+
js.Expression getRuntimeTypeName(ClassElement cls) {
return js.string(_namer.runtimeTypeName(cls));
}

Powered by Google App Engine
This is Rietveld 408576698