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

Unified Diff: src/ic-inl.h

Issue 7834018: Support compaction for code space pages. (Closed) Base URL: https://v8.googlecode.com/svn/branches/experimental/gc
Patch Set: port changes from ia32 to arm & x64 Created 9 years, 3 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/ic-inl.h
diff --git a/src/ic-inl.h b/src/ic-inl.h
index e8b0c6476a9a81d3b3f07a7c613a44d4d36317d4..498cf3af313781e18c4eebf783f65b809516ba5d 100644
--- a/src/ic-inl.h
+++ b/src/ic-inl.h
@@ -87,7 +87,8 @@ void IC::SetTargetAtAddress(Address address, Code* target) {
}
#endif
Assembler::set_target_address_at(address, target->instruction_start());
- target->GetHeap()->incremental_marking()->RecordWriteOf(target);
+ target->GetHeap()->incremental_marking()->RecordCodeTargetPatch(address,
+ target);
}

Powered by Google App Engine
This is Rietveld 408576698