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

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

Issue 1430453002: dart2js cps: Extend type masks to handle reflective invocations. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Merge Created 5 years, 1 month 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 b4419603db1f0373fa2c2f6ffbb9dfa126d5c34b..463d6da9c9f82b7de25b228c188b95e40975e9e7 100644
--- a/pkg/compiler/lib/src/js_backend/codegen/glue.dart
+++ b/pkg/compiler/lib/src/js_backend/codegen/glue.dart
@@ -30,7 +30,7 @@ import '../../universe/selector.dart' show
Selector;
import '../../world.dart' show
ClassWorld;
-
+import '../../types/types.dart';
/// Encapsulates the dependencies of the function-compiler to the compiler,
/// backend and emitter.
@@ -287,5 +287,9 @@ class Glue {
return _backend.constants.getConstantValueForVariable(elem);
}
+ TypeMask extendMaskIfReachesAll(Selector selector, TypeMask mask) {
+ return _compiler.world.extendMaskIfReachesAll(selector, mask);
+ }
+
FunctionElement get closureFromTearOff => _backend.helpers.closureFromTearOff;
}
« no previous file with comments | « pkg/compiler/lib/src/js_backend/codegen/codegen.dart ('k') | tests/compiler/dart2js_native/dart2js_native.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698