| 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 9c4658c21b4d5f002cab4b55fe401b9a07a8145b..6e861d86e9f8158a0db6cc530d0229be160fb64a 100644
|
| --- a/pkg/compiler/lib/src/js_backend/codegen/task.dart
|
| +++ b/pkg/compiler/lib/src/js_backend/codegen/task.dart
|
| @@ -72,19 +72,7 @@ class CpsFunctionCompiler implements FunctionCompiler {
|
| // switch.
|
| if (element.isNative ||
|
| element.isPatched ||
|
| - libraryName == 'origin library(dart:typed_data)' ||
|
| - // Using switch or try-finally.
|
| - library.isInternalLibrary && name == 'unwrapException' ||
|
| - library.isPlatformLibrary && className == 'IterableBase' ||
|
| - library.isInternalLibrary && className == 'Closure' ||
|
| - libraryName == 'origin library(dart:collection)' &&
|
| - name == 'mapToString' ||
|
| - libraryName == 'library(dart:html)' && name == 'sanitizeNode' ||
|
| - className == '_IsolateContext' ||
|
| - className == 'IsolateNatives' ||
|
| - className == '_Deserializer' ||
|
| - name == '_rootRun' ||
|
| - name == '_microtaskLoopEntry') {
|
| + libraryName == 'origin library(dart:typed_data)') {
|
| compiler.log('Using SSA compiler for platform element $element');
|
| return fallbackCompiler.compile(work);
|
| }
|
|
|