| Index: runtime/lib/object.cc
|
| ===================================================================
|
| --- runtime/lib/object.cc (revision 31170)
|
| +++ runtime/lib/object.cc (working copy)
|
| @@ -105,10 +105,7 @@
|
| const Instance& instance = Instance::CheckedHandle(arguments->NativeArgAt(0));
|
| // Special handling for following types outside this native.
|
| ASSERT(!instance.IsString() && !instance.IsInteger() && !instance.IsDouble());
|
| - const Type& type = Type::Handle(instance.GetType());
|
| - // The static type of null is specified to be the bottom type, however, the
|
| - // runtime type of null is the Null type, which we correctly return here.
|
| - return type.Canonicalize();
|
| + return instance.GetType();
|
| }
|
|
|
|
|
|
|