| Index: runtime/vm/object.h
|
| ===================================================================
|
| --- runtime/vm/object.h (revision 5847)
|
| +++ runtime/vm/object.h (working copy)
|
| @@ -855,6 +855,9 @@
|
| // An unresolved class is a String specifying the class name.
|
| class Type : public AbstractType {
|
| public:
|
| + static intptr_t type_class_offset() {
|
| + return OFFSET_OF(RawType, type_class_);
|
| + }
|
| virtual bool IsFinalized() const {
|
| return raw_ptr()->type_state_ == RawType::kFinalized;
|
| }
|
| @@ -1081,6 +1084,9 @@
|
| public:
|
| virtual intptr_t Length() const;
|
| virtual RawAbstractType* TypeAt(intptr_t index) const;
|
| + static intptr_t type_at_offset(intptr_t index) {
|
| + return OFFSET_OF(RawTypeArguments, types_) + index * kWordSize;
|
| + }
|
| virtual void SetTypeAt(intptr_t index, const AbstractType& value) const;
|
| virtual bool IsResolved() const;
|
| virtual bool IsInstantiated() const;
|
|
|