Index: src/spaces.h |
diff --git a/src/spaces.h b/src/spaces.h |
index db0415b7b7a8b30b4d0945b4bb00eea7bb861d20..06f444d1587346db0c0421a366e718ef61b63b31 100644 |
--- a/src/spaces.h |
+++ b/src/spaces.h |
@@ -1764,16 +1764,9 @@ class PagedSpace : public Space { |
return allocation_info_.limit_address(); |
} |
- enum AllocationType { |
- NEW_OBJECT, |
- MOVE_OBJECT |
- }; |
- |
// Allocate the requested number of bytes in the space if possible, return a |
// failure object if not. |
- MUST_USE_RESULT inline MaybeObject* AllocateRaw( |
- int size_in_bytes, |
- AllocationType event = NEW_OBJECT); |
+ MUST_USE_RESULT inline MaybeObject* AllocateRaw(int size_in_bytes); |
virtual bool ReserveSpace(int bytes); |