summaryrefslogtreecommitdiff
path: root/deps/v8/src/heap/local-allocator-inl.h
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/src/heap/local-allocator-inl.h')
-rw-r--r--deps/v8/src/heap/local-allocator-inl.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/deps/v8/src/heap/local-allocator-inl.h b/deps/v8/src/heap/local-allocator-inl.h
index 7263387465..b8f0bdc5b5 100644
--- a/deps/v8/src/heap/local-allocator-inl.h
+++ b/deps/v8/src/heap/local-allocator-inl.h
@@ -30,7 +30,7 @@ AllocationResult LocalAllocator::Allocate(AllocationSpace space,
}
}
-void LocalAllocator::FreeLast(AllocationSpace space, HeapObject* object,
+void LocalAllocator::FreeLast(AllocationSpace space, HeapObject object,
int object_size) {
switch (space) {
case NEW_SPACE:
@@ -46,7 +46,7 @@ void LocalAllocator::FreeLast(AllocationSpace space, HeapObject* object,
}
}
-void LocalAllocator::FreeLastInNewSpace(HeapObject* object, int object_size) {
+void LocalAllocator::FreeLastInNewSpace(HeapObject object, int object_size) {
if (!new_space_lab_.TryFreeLast(object, object_size)) {
// We couldn't free the last object so we have to write a proper filler.
heap_->CreateFillerObjectAt(object->address(), object_size,
@@ -54,7 +54,7 @@ void LocalAllocator::FreeLastInNewSpace(HeapObject* object, int object_size) {
}
}
-void LocalAllocator::FreeLastInOldSpace(HeapObject* object, int object_size) {
+void LocalAllocator::FreeLastInOldSpace(HeapObject object, int object_size) {
if (!compaction_spaces_.Get(OLD_SPACE)->TryFreeLast(object, object_size)) {
// We couldn't free the last object so we have to write a proper filler.
heap_->CreateFillerObjectAt(object->address(), object_size,