Index: src/mark-compact.h |
=================================================================== |
--- src/mark-compact.h (revision 5696) |
+++ src/mark-compact.h (working copy) |
@@ -53,7 +53,8 @@ |
// Object* that will be the object after forwarding. There is a separate |
// allocation function for each (compactable) space based on the location |
// of the object before compaction. |
- typedef Object* (*AllocationFunction)(HeapObject* object, int object_size); |
+ typedef MaybeObject* (*AllocationFunction)(HeapObject* object, |
+ int object_size); |
// Type of functions to encode the forwarding address for an object. |
// Given the object, its size, and the new (non-failure) object it will be |