Index: src/objects-inl.h |
=================================================================== |
--- src/objects-inl.h (revision 596) |
+++ src/objects-inl.h (working copy) |
@@ -552,8 +552,8 @@ |
(*reinterpret_cast<byte*>(FIELD_ADDR(p, offset)) = value) |
-Object* HeapObject::GetHeapObjectField(HeapObject* obj, int index) { |
- return READ_FIELD(obj, HeapObject::kHeaderSize + kPointerSize * index); |
+Object*& HeapObject::RawField(HeapObject* obj, int byte_offset) { |
+ return READ_FIELD(obj, byte_offset); |
} |