| Index: runtime/vm/object.cc
|
| diff --git a/runtime/vm/object.cc b/runtime/vm/object.cc
|
| index ae6660294ea24c8b538a11b175df6c63f0885f37..07356ca448b81d73bf485b9ddb09a43881500493 100644
|
| --- a/runtime/vm/object.cc
|
| +++ b/runtime/vm/object.cc
|
| @@ -1635,6 +1635,18 @@ RawAbstractType* Class::RareType() const {
|
| }
|
|
|
|
|
| +RawAbstractType* Class::DeclarationType() const {
|
| + const TypeArguments& args = TypeArguments::Handle(type_parameters());
|
| + const Type& type = Type::Handle(Type::New(
|
| + *this,
|
| + args,
|
| + Scanner::kDummyTokenIndex));
|
| + return ClassFinalizer::FinalizeType(*this,
|
| + type,
|
| + ClassFinalizer::kCanonicalize);
|
| +}
|
| +
|
| +
|
| template <class FakeObject>
|
| RawClass* Class::New() {
|
| ASSERT(Object::class_class() != Class::null());
|
|
|