Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(647)

Unified Diff: src/objects.cc

Issue 1577853007: [heap] Parallel newspace evacuation, semispace copy, and compaction \o/ (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Refactoring Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/objects.cc
diff --git a/src/objects.cc b/src/objects.cc
index 326b6f169ceb29b9c6364866bb21775fcbf73d3d..68fb9f7ac0c263d1c0f501b7b628a63f9e6a5948 100644
--- a/src/objects.cc
+++ b/src/objects.cc
@@ -16013,7 +16013,8 @@ void JSObject::UpdateAllocationSite(Handle<JSObject> object,
{
DisallowHeapAllocation no_allocation;
- AllocationMemento* memento = heap->FindAllocationMemento(*object);
+ AllocationMemento* memento =
+ heap->FindAllocationMemento<Heap::kForRuntime>(*object);
if (memento == NULL) return;
// Walk through to the Allocation Site
« src/heap/mark-compact.cc ('K') | « src/objects.h ('k') | src/objects-inl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698