From 5d8a34e0c800d4d3f78872197b13e23ed9469bf1 Mon Sep 17 00:00:00 2001 From: "kmillikin@chromium.org" Date: Thu, 16 Apr 2009 11:30:00 +0000 Subject: [PATCH] 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 --- src/objects.cc | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/src/objects.cc b/src/objects.cc index fc7d9e3168..5ac0ee85ba 100644 --- a/src/objects.cc +++ b/src/objects.cc @@ -43,22 +43,6 @@ namespace v8 { namespace internal { -#define FIELD_ADDR(p, offset) \ - (reinterpret_cast(p) + offset - kHeapObjectTag) - - -#define WRITE_FIELD(p, offset, value) \ - (*reinterpret_cast(FIELD_ADDR(p, offset)) = value) - - -#define WRITE_INT_FIELD(p, offset, value) \ - (*reinterpret_cast(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;