| Index: sdk/lib/_internal/compiler/implementation/ssa/nodes.dart
|
| ===================================================================
|
| --- sdk/lib/_internal/compiler/implementation/ssa/nodes.dart (revision 16093)
|
| +++ sdk/lib/_internal/compiler/implementation/ssa/nodes.dart (working copy)
|
| @@ -180,6 +180,9 @@
|
| result = new HConstant.internal(constant, type);
|
| entry.addAtExit(result);
|
| constants[constant] = result;
|
| + } else if (result.block == null) {
|
| + // The constant was not used anymore.
|
| + entry.addAtExit(result);
|
| }
|
| return result;
|
| }
|
|
|