| Index: pkg/compiler/lib/src/ssa/locals_handler.dart
|
| diff --git a/pkg/compiler/lib/src/ssa/locals_handler.dart b/pkg/compiler/lib/src/ssa/locals_handler.dart
|
| index 1755a02612e8848f9ff9419d930b4f2c6c55cadb..d06750fdc4ee2a9998daa415ec29e97b3b92c115 100644
|
| --- a/pkg/compiler/lib/src/ssa/locals_handler.dart
|
| +++ b/pkg/compiler/lib/src/ssa/locals_handler.dart
|
| @@ -126,11 +126,7 @@ class LocalsHandler {
|
| }
|
|
|
| HInstruction createBox() {
|
| - // TODO(floitsch): Clean up this hack. Should we create a box-object by
|
| - // just creating an empty object literal?
|
| - HInstruction box = new HForeignCode(
|
| - js.js.parseForeignJS('{}'), commonMasks.nonNullType, <HInstruction>[],
|
| - nativeBehavior: native.NativeBehavior.PURE_ALLOCATION);
|
| + HInstruction box = new HCreateBox(commonMasks.nonNullType);
|
| builder.add(box);
|
| return box;
|
| }
|
|
|