Index: src/mark-compact.cc |
diff --git a/src/mark-compact.cc b/src/mark-compact.cc |
index c8172519d333efd91e2d10333a7b6b55d96f2a2f..ad928ea3ed4092abbf76e8cb5f3f174040d23073 100644 |
--- a/src/mark-compact.cc |
+++ b/src/mark-compact.cc |
@@ -2553,7 +2553,7 @@ int MarkCompactCollector::RelocateOldNonCodeObject(HeapObject* obj, |
HeapObject* copied_to = HeapObject::FromAddress(new_addr); |
if (copied_to->IsJSFunction()) { |
PROFILE(FunctionMoveEvent(old_addr, new_addr)); |
- PROFILE(FunctionCreateEventFromMove(JSFunction::cast(copied_to), obj)); |
+ PROFILE(FunctionCreateEventFromMove(JSFunction::cast(copied_to))); |
} |
HEAP_PROFILE(ObjectMoveEvent(old_addr, new_addr)); |
@@ -2646,7 +2646,7 @@ int MarkCompactCollector::RelocateNewObject(HeapObject* obj) { |
HeapObject* copied_to = HeapObject::FromAddress(new_addr); |
if (copied_to->IsJSFunction()) { |
PROFILE(FunctionMoveEvent(old_addr, new_addr)); |
- PROFILE(FunctionCreateEventFromMove(JSFunction::cast(copied_to), obj)); |
+ PROFILE(FunctionCreateEventFromMove(JSFunction::cast(copied_to))); |
} |
HEAP_PROFILE(ObjectMoveEvent(old_addr, new_addr)); |