Chromium Code Reviews| Index: dart/frog/leg/ssa/nodes.dart |
| diff --git a/dart/frog/leg/ssa/nodes.dart b/dart/frog/leg/ssa/nodes.dart |
| index 48e66414f9261cb1f8545a5c7c2b9f08f9a48325..a0cbf6a41221ba82ac0733b2e5753cebbd4505cd 100644 |
| --- a/dart/frog/leg/ssa/nodes.dart |
| +++ b/dart/frog/leg/ssa/nodes.dart |
| @@ -2120,11 +2120,12 @@ class HStaticStore extends HInstruction { |
| } |
| class HLiteralList extends HInstruction { |
| - HLiteralList(inputs) : super(inputs); |
| + HLiteralList(inputs, this.isConst) : super(inputs); |
|
ngeoffray
2012/02/24 13:24:33
Please add a TODO(floitsch): remove 'isConst' once
ahe
2012/02/27 11:51:12
Done.
|
| toString() => 'literal list'; |
| accept(HVisitor visitor) => visitor.visitLiteralList(this); |
| HType computeType() => HType.ARRAY; |
| bool hasExpectedType() => true; |
| + final bool isConst; |
| void prepareGvn() { |
| assert(!hasSideEffects()); |