Remove some unused macros from objects.cc.
Review URL: http://codereview.chromium.org/67211 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@1721 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
parent
4d18959446
commit
5d8a34e0c8
@ -43,22 +43,6 @@
|
||||
|
||||
namespace v8 { namespace internal {
|
||||
|
||||
#define FIELD_ADDR(p, offset) \
|
||||
(reinterpret_cast<byte*>(p) + offset - kHeapObjectTag)
|
||||
|
||||
|
||||
#define WRITE_FIELD(p, offset, value) \
|
||||
(*reinterpret_cast<Object**>(FIELD_ADDR(p, offset)) = value)
|
||||
|
||||
|
||||
#define WRITE_INT_FIELD(p, offset, value) \
|
||||
(*reinterpret_cast<int*>(FIELD_ADDR(p, offset)) = value)
|
||||
|
||||
|
||||
#define WRITE_BARRIER(object, offset) \
|
||||
Heap::RecordWrite(object->address(), offset);
|
||||
|
||||
|
||||
// Getters and setters are stored in a fixed array property. These are
|
||||
// constants for their indices.
|
||||
const int kGetterIndex = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user