| Index: lib/compiler/implementation/ssa/builder.dart
|
| diff --git a/lib/compiler/implementation/ssa/builder.dart b/lib/compiler/implementation/ssa/builder.dart
|
| index bf79a1efc38e9aadf92f818c9b8e3981c3e9d666..34d71fba0923ea729bc16f2d3f6b6c99a754bb43 100644
|
| --- a/lib/compiler/implementation/ssa/builder.dart
|
| +++ b/lib/compiler/implementation/ssa/builder.dart
|
| @@ -1011,6 +1011,7 @@ class SsaBuilder extends ResolvedVisitor implements Visitor {
|
| bool tryInlineMethod(Element element,
|
| Selector selector,
|
| Link<Node> arguments) {
|
| + if (!compiler.enableInlining) return false;
|
| // TODO(floitsch): we should be able to inline inside lazy initializers.
|
| if (!currentElement.isFunction()) return false;
|
| // TODO(floitsch): we should be able to inline getters, setters and
|
|
|