Index: src/heap.h |
diff --git a/src/heap.h b/src/heap.h |
index 393f46efa887c3e52b4c180cdd234a511678de96..9ae1029ddab3e29b76756c5ea92363c5db7100ba 100644 |
--- a/src/heap.h |
+++ b/src/heap.h |
@@ -1171,6 +1171,11 @@ class Heap { |
// when shortening objects. |
void CreateFillerObjectAt(Address addr, int size); |
+ enum InvocationMode { FROM_GC, FROM_MUTATOR }; |
+ |
+ // Maintain marking consistency for IncrementalMarking. |
+ void AdjustLiveBytes(Address address, int by, InvocationMode mode); |
+ |
// Makes a new native code object |
// Returns Failure::RetryAfterGC(requested_bytes, space) if the allocation |
// failed. On success, the pointer to the Code object is stored in the |