| Index: pkg/compiler/lib/src/cps_ir/cps_ir_builder.dart
|
| diff --git a/pkg/compiler/lib/src/cps_ir/cps_ir_builder.dart b/pkg/compiler/lib/src/cps_ir/cps_ir_builder.dart
|
| index 4f42e9de31ca6fb4696ea978f5e9d0f230125035..5c9da0f5390f60913e6effbc266e70271eabcffa 100644
|
| --- a/pkg/compiler/lib/src/cps_ir/cps_ir_builder.dart
|
| +++ b/pkg/compiler/lib/src/cps_ir/cps_ir_builder.dart
|
| @@ -1646,8 +1646,10 @@ class DartIrBuilder extends IrBuilder {
|
| ir.Primitive buildLocalGet(LocalElement local) {
|
| assert(isOpen);
|
| if (isInClosureVariable(local)) {
|
| - ir.Primitive result = new ir.GetClosureVariable(getClosureVariable(local));
|
| - result.useElementAsHint(local);
|
| + // Do not use [local] as a hint on [result]. The variable should always
|
| + // be inlined, but the hint prevents it.
|
| + ir.Primitive result =
|
| + new ir.GetClosureVariable(getClosureVariable(local));
|
| add(new ir.LetPrim(result));
|
| return result;
|
| } else {
|
|
|