Index: src/heap/spaces-inl.h |
diff --git a/src/heap/spaces-inl.h b/src/heap/spaces-inl.h |
index 0fd69dacfebd7b93b269bd9b093b53e39bca4866..314d22f9a65533841b6b2767dcc91e6730fcad9a 100644 |
--- a/src/heap/spaces-inl.h |
+++ b/src/heap/spaces-inl.h |
@@ -165,14 +165,6 @@ bool NewSpace::FromSpaceContainsSlow(Address a) { |
bool NewSpace::ToSpaceContains(Object* o) { return to_space_.Contains(o); } |
bool NewSpace::FromSpaceContains(Object* o) { return from_space_.Contains(o); } |
-// -------------------------------------------------------------------------- |
-// AllocationResult |
- |
-AllocationSpace AllocationResult::RetrySpace() { |
- DCHECK(IsRetry()); |
- return static_cast<AllocationSpace>(Smi::cast(object_)->value()); |
-} |
- |
Page* Page::Initialize(Heap* heap, MemoryChunk* chunk, Executability executable, |
SemiSpace* owner) { |
DCHECK_EQ(executable, Executability::NOT_EXECUTABLE); |