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

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

Issue 808553004: Revert "cps-ir: Add support for intercepted calls." (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years 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 d15a458819ee88c8fc6aa7400cbdffaa95629223..8bc79b2203ba74664cde974c8975d11902cf257f 100644
--- a/pkg/compiler/lib/src/js_backend/codegen/glue.dart
+++ b/pkg/compiler/lib/src/js_backend/codegen/glue.dart
@@ -11,6 +11,7 @@ import '../../js/js.dart' as js;
import '../../constants/values.dart';
import '../../elements/elements.dart';
import '../../constants/expressions.dart';
+import 'task.dart' show CpsTypeEnvironment;
/// Encapsulates the dependencies of the function-compiler to the compiler,
/// backend and emitter.
@@ -62,21 +63,8 @@ class Glue {
return _namer.invocationName(selector);
}
- FunctionElement get getInterceptorMethod => _backend.getInterceptorMethod;
-
- void registerUseInterceptorInCodegen() {
- _backend.registerUseInterceptor(_compiler.enqueuer.codegen);
- }
-
- bool isInterceptedSelector(Selector selector) {
+ bool isIntercepted(Selector selector) {
return _backend.isInterceptedSelector(selector);
}
- Set<ClassElement> getInterceptedClassesOn(Selector selector) {
- return _backend.getInterceptedClassesOn(selector.name);
- }
-
- void registerSpecializedGetInterceptor(Set<ClassElement> classes) {
- _backend.registerSpecializedGetInterceptor(classes);
- }
}
« no previous file with comments | « pkg/compiler/lib/src/js_backend/codegen/codegen.dart ('k') | pkg/compiler/lib/src/js_backend/codegen/task.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698