| 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 2db55a0c70b1310e079849862889e58a4507bbe1..31c2fddbf19cdf8c328fd5dc3de0e7dd5779d34d 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;
|
|
|