Index: runtime/vm/object.h |
=================================================================== |
--- runtime/vm/object.h (revision 34879) |
+++ runtime/vm/object.h (working copy) |
@@ -4015,6 +4015,7 @@ |
return ((index >= 0) && (index < clazz()->ptr()->num_native_fields_)); |
} |
+ intptr_t* NativeFieldsDataAddr() const; |
inline intptr_t GetNativeField(int index) const; |
inline void GetNativeFields(uint16_t num_fields, |
intptr_t* field_values) const; |
@@ -4059,6 +4060,7 @@ |
RawObject** NativeFieldsAddr() const { |
return FieldAddrAtOffset(sizeof(RawObject)); |
} |
+ |
void SetFieldAtOffset(intptr_t offset, const Object& value) const { |
StorePointer(FieldAddrAtOffset(offset), value.raw()); |
} |