Index: runtime/vm/object.h |
=================================================================== |
--- runtime/vm/object.h (revision 41687) |
+++ runtime/vm/object.h (working copy) |
@@ -4067,10 +4067,10 @@ |
return OFFSET_OF(RawContext, num_variables_); |
} |
- RawInstance* At(intptr_t context_index) const { |
- return *InstanceAddr(context_index); |
+ RawObject* At(intptr_t context_index) const { |
+ return *ObjectAddr(context_index); |
} |
- inline void SetAt(intptr_t context_index, const Instance& value) const; |
+ inline void SetAt(intptr_t context_index, const Object& value) const; |
void Dump(int indent = 0) const; |
@@ -4096,7 +4096,7 @@ |
Heap::Space space = Heap::kNew); |
private: |
- RawInstance* const* InstanceAddr(intptr_t context_index) const { |
+ RawObject* const* ObjectAddr(intptr_t context_index) const { |
ASSERT((context_index >= 0) && (context_index < num_variables())); |
return &raw_ptr()->data()[context_index]; |
} |
@@ -7446,8 +7446,8 @@ |
} |
-void Context::SetAt(intptr_t index, const Instance& value) const { |
- StorePointer(InstanceAddr(index), value.raw()); |
+void Context::SetAt(intptr_t index, const Object& value) const { |
+ StorePointer(ObjectAddr(index), value.raw()); |
} |