| 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 e3f527f50373789a5900546a1025fa91c849e756..b30feb491704c7d2f524a5fcba7141a75bfc2d4f 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;
|
|
|