| Index: pkg/compiler/lib/src/js_backend/codegen/task.dart
|
| diff --git a/pkg/compiler/lib/src/js_backend/codegen/task.dart b/pkg/compiler/lib/src/js_backend/codegen/task.dart
|
| index 0068a2178f857b7e4829f1240591b2674e179e70..76b04093990bfd9a4723830e20a99e1d8bbab780 100644
|
| --- a/pkg/compiler/lib/src/js_backend/codegen/task.dart
|
| +++ b/pkg/compiler/lib/src/js_backend/codegen/task.dart
|
| @@ -62,8 +62,10 @@ class CspFunctionCompiler implements FunctionCompiler {
|
| js.Fun compile(CodegenWorkItem work) {
|
| types = new TypeMaskSystem(compiler);
|
| AstElement element = work.element;
|
| + JavaScriptBackend backend = compiler.backend;
|
| return compiler.withCurrentElement(element, () {
|
| - if (element.library.isPlatformLibrary) {
|
| + if (element.library.isPlatformLibrary ||
|
| + element.library == backend.interceptorsLibrary) {
|
| compiler.log('Using SSA compiler for platform element $element');
|
| return fallbackCompiler.compile(work);
|
| }
|
|
|