Commit 34581118 authored by mlippautz's avatar mlippautz Committed by Commit bot

[heap] Remove allocation step from FreeList::Allocate

This avoids double accounting since we also have the call in the bottleneck.

R=hpayer@chromium.org
BUG=

Review-Url: https://codereview.chromium.org/2206623003
Cr-Commit-Position: refs/heads/master@{#38281}
parent 0c8e3cea
...@@ -2516,8 +2516,6 @@ HeapObject* FreeList::Allocate(int size_in_bytes) { ...@@ -2516,8 +2516,6 @@ HeapObject* FreeList::Allocate(int size_in_bytes) {
new_node->address() + new_node_size); new_node->address() + new_node_size);
} }
owner_->AllocationStep(new_node->address(), size_in_bytes);
return new_node; return new_node;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment