Index: src/objects.h |
diff --git a/src/objects.h b/src/objects.h |
index 8420069b2627e75384591bb81295871029570efe..0fa8ffa9e173b46531baf06479f3a1ecde821a50 100644 |
--- a/src/objects.h |
+++ b/src/objects.h |
@@ -29,6 +29,7 @@ |
#define V8_OBJECTS_H_ |
#include "allocation.h" |
+#include "assert-scope.h" |
#include "builtins.h" |
#include "elements-kind.h" |
#include "list.h" |
@@ -1418,7 +1419,8 @@ class HeapObject: public Object { |
// object as a sign that they are not going to use this function |
// from code that allocates and thus invalidates the returned write |
// barrier mode. |
- inline WriteBarrierMode GetWriteBarrierMode(const AssertNoAllocation&); |
+ inline WriteBarrierMode GetWriteBarrierMode( |
+ const DisallowHeapAllocation& promise); |
// Dispatched behavior. |
void HeapObjectShortPrint(StringStream* accumulator); |