| Index: sdk/lib/_internal/compiler/implementation/types/simple_types_inferrer.dart
|
| ===================================================================
|
| --- sdk/lib/_internal/compiler/implementation/types/simple_types_inferrer.dart (revision 26182)
|
| +++ sdk/lib/_internal/compiler/implementation/types/simple_types_inferrer.dart (working copy)
|
| @@ -981,9 +981,6 @@
|
| */
|
| bool recordReturnType(Element analyzedElement, TypeMask returnType) {
|
| if (isNativeElement(analyzedElement)) return false;
|
| - if (!compiler.backend.canBeUsedForGlobalOptimizations(analyzedElement)) {
|
| - return false;
|
| - }
|
| assert(analyzedElement.implementation == analyzedElement);
|
| TypeMask existing = typeInformationOf(analyzedElement).returnType;
|
| if (optimismState == OPTIMISTIC
|
|
|