| Index: runtime/vm/object.cc
|
| diff --git a/runtime/vm/object.cc b/runtime/vm/object.cc
|
| index af6378af08bf5f484f0a269dd9fce98d87155925..bdfac3c04eebfd88df665dccbf890e9f3ad69cd0 100644
|
| --- a/runtime/vm/object.cc
|
| +++ b/runtime/vm/object.cc
|
| @@ -1512,6 +1512,16 @@ RawType* Class::SignatureType() const {
|
| }
|
|
|
|
|
| +RawType* Class::RareType() const {
|
| + const Type& type = Type::Handle(Type::New(
|
| + *this,
|
| + Object::null_abstract_type_arguments(),
|
| + Scanner::kDummyTokenIndex));
|
| + return Type::RawCast(
|
| + ClassFinalizer::FinalizeType(*this, type, ClassFinalizer::kCanonicalize));
|
| +}
|
| +
|
| +
|
| template <class FakeObject>
|
| RawClass* Class::New() {
|
| ASSERT(Object::class_class() != Class::null());
|
|
|