Index: src/zone/zone-segment.h |
diff --git a/src/zone/zone-segment.h b/src/zone/zone-segment.h |
index e1c3ed00481d4003a52166be71208dc2b5855482..d37cf5648dc3f54ed648ef5851d8bde2a24e35f6 100644 |
--- a/src/zone/zone-segment.h |
+++ b/src/zone/zone-segment.h |
@@ -20,7 +20,11 @@ |
class Segment { |
public: |
- void Initialize(size_t size) { size_ = size; } |
+ void Initialize(Segment* next, size_t size, Zone* zone) { |
+ next_ = next; |
+ size_ = size; |
+ zone_ = zone; |
+ } |
Zone* zone() const { return zone_; } |
void set_zone(Zone* const zone) { zone_ = zone; } |
@@ -44,7 +48,6 @@ |
// Constant byte value used for zapping dead memory in debug mode. |
static const unsigned char kZapDeadByte = 0xcd; |
#endif |
- |
// Computes the address of the nth byte in this segment. |
Address address(size_t n) const { return Address(this) + n; } |