| Index: dart/sdk/lib/_internal/compiler/implementation/constants.dart
|
| diff --git a/dart/sdk/lib/_internal/compiler/implementation/constants.dart b/dart/sdk/lib/_internal/compiler/implementation/constants.dart
|
| index 3e15ab8b8b174ff7fcfbef94746b572e0c1266c2..d0305244a8c765a205ba3b97d9606a9da83f2350 100644
|
| --- a/dart/sdk/lib/_internal/compiler/implementation/constants.dart
|
| +++ b/dart/sdk/lib/_internal/compiler/implementation/constants.dart
|
| @@ -123,10 +123,6 @@ class NullConstant extends PrimitiveConstant {
|
| return compiler.typesTask.nullType;
|
| }
|
|
|
| - void _writeJsCode(CodeBuffer buffer, ConstantHandler handler) {
|
| - buffer.write(JsNull);
|
| - }
|
| -
|
| // The magic constant has no meaning. It is just a random value.
|
| int get hashCode => 785965825;
|
| DartString toDartString() => const LiteralDartString("null");
|
| @@ -337,6 +333,7 @@ abstract class ObjectConstant extends Constant {
|
| final DartType type;
|
|
|
| ObjectConstant(this.type);
|
| +
|
| bool isObject() => true;
|
|
|
| DartType computeType(Compiler compiler) => type;
|
|
|