| Index: lib/compiler/implementation/ssa/codegen.dart
|
| diff --git a/lib/compiler/implementation/ssa/codegen.dart b/lib/compiler/implementation/ssa/codegen.dart
|
| index 05ff7e857071e4dbdd239f34c0c3723454c37c94..8fbd1cdd05a5b9790808d14fac8656c339b6306a 100644
|
| --- a/lib/compiler/implementation/ssa/codegen.dart
|
| +++ b/lib/compiler/implementation/ssa/codegen.dart
|
| @@ -1293,10 +1293,6 @@ class SsaCodeGenerator implements HVisitor, HBlockInformationVisitor {
|
| }
|
|
|
| visitFieldSet(HFieldSet node) {
|
| - // This method may introduce variable declarations in the JS code.
|
| - // If we are generating an expression, those variable declarations
|
| - // must be delayed until later.
|
| - bool delayDeclaration = false;
|
| String name;
|
| if (node.receiver !== null) {
|
| name =
|
| @@ -1311,7 +1307,6 @@ class SsaCodeGenerator implements HVisitor, HBlockInformationVisitor {
|
| name = JsNames.getValid(node.element.name.slowToString());
|
| declareVariable(name);
|
| }
|
| - if (delayDeclaration) delayedVarDecl = delayedVarDecl.prepend(name);
|
| buffer.add(' = ');
|
| use(node.value, JSPrecedence.ASSIGNMENT_PRECEDENCE);
|
| if (node.receiver !== null) {
|
|
|