Index: src/zone.h |
diff --git a/src/zone.h b/src/zone.h |
index 0aa288179b6ee31a7f8a1f0982c0db030a77c347..a5e437f7fa4e5e89a9aeb5c20d3a649abdb3bb10 100644 |
--- a/src/zone.h |
+++ b/src/zone.h |
@@ -134,8 +134,8 @@ class Zone { |
class ZoneObject { |
public: |
// Allocate a new ZoneObject of 'size' bytes in the Zone. |
- inline void* operator new(size_t size); |
- inline void* operator new(size_t size, Zone* zone); |
+ INLINE(void* operator new(size_t size)); |
+ INLINE(void* operator new(size_t size, Zone* zone)); |
// Ideally, the delete operator should be private instead of |
// public, but unfortunately the compiler sometimes synthesizes |
@@ -164,7 +164,7 @@ class AssertNoZoneAllocation { |
class ZoneListAllocationPolicy { |
public: |
// Allocate 'size' bytes of memory in the zone. |
- static inline void* New(int size); |
+ INLINE(static void* New(int size)); |
// De-allocation attempts are silently ignored. |
static void Delete(void* p) { } |
@@ -178,8 +178,8 @@ class ZoneListAllocationPolicy { |
template<typename T> |
class ZoneList: public List<T, ZoneListAllocationPolicy> { |
public: |
- inline void* operator new(size_t size); |
- inline void* operator new(size_t size, Zone* zone); |
+ INLINE(void* operator new(size_t size)); |
+ INLINE(void* operator new(size_t size, Zone* zone)); |
// Construct a new ZoneList with the given capacity; the length is |
// always zero. The capacity must be non-negative. |
@@ -203,8 +203,7 @@ typedef ZoneList<Handle<Map> > ZoneMapList; |
// outer-most scope. |
class ZoneScope BASE_EMBEDDED { |
public: |
- // TODO(isolates): pass isolate pointer here. |
- inline explicit ZoneScope(ZoneScopeMode mode); |
+ INLINE(ZoneScope(Isolate* isolate, ZoneScopeMode mode)); |
virtual ~ZoneScope(); |