Index: src/objects.h |
diff --git a/src/objects.h b/src/objects.h |
index 88feac521f01094f972d416cbe20d7c99bc5dce2..756631068e719d0345e1889f9b2f63ff367237e8 100644 |
--- a/src/objects.h |
+++ b/src/objects.h |
@@ -1433,7 +1433,7 @@ class HeapObject: public Object { |
static inline HeapObject* cast(Object* obj); |
// Return the write barrier mode for this. Callers of this function |
- // must be able to present a reference to an AssertNoAllocation |
+ // must be able to present a reference to an DisallowHeapAllocation |
// 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. |