Index: src/spaces.h |
=================================================================== |
--- src/spaces.h (revision 13870) |
+++ src/spaces.h (working copy) |
@@ -894,6 +894,10 @@ |
void TearDown(); |
bool exists() { return this != NULL && code_range_ != NULL; } |
+ Address start() { |
+ if (this == NULL || code_range_ == NULL) return NULL; |
+ return static_cast<Address>(code_range_->address()); |
+ } |
bool contains(Address address) { |
if (this == NULL || code_range_ == NULL) return false; |
Address start = static_cast<Address>(code_range_->address()); |