| Index: pkg/compiler/lib/src/ssa/builder.dart
|
| diff --git a/pkg/compiler/lib/src/ssa/builder.dart b/pkg/compiler/lib/src/ssa/builder.dart
|
| index d26f6ec7a641ee1a41396286166a28115be66caf..a3e510b2fcdb6165241b66f7b10809870bcb9ab3 100644
|
| --- a/pkg/compiler/lib/src/ssa/builder.dart
|
| +++ b/pkg/compiler/lib/src/ssa/builder.dart
|
| @@ -1363,10 +1363,9 @@ class SsaBuilder extends ResolvedVisitor {
|
| return reductiveHeuristic();
|
| }
|
|
|
| - if (cachedCanBeInlined == true) return cachedCanBeInlined;
|
| -
|
| - if (backend.functionsToAlwaysInline.contains(function)) {
|
| - // Inline this function regardless of it's size.
|
| + if (cachedCanBeInlined == true) {
|
| + // We may have forced the inlining of some methods. Therefore check
|
| + // if we can inline this method regardless of size.
|
| assert(InlineWeeder.canBeInlined(function, -1, false,
|
| allowLoops: true));
|
| return true;
|
|
|