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

Unified Diff: src/x64/assembler-x64-inl.h

Issue 7639020: Perform TODO(gc) cleanup for TODO-lockdown. (Closed) Base URL: https://v8.googlecode.com/svn/branches/experimental/gc
Patch Set: Created 9 years, 4 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/x64/assembler-x64-inl.h
diff --git a/src/x64/assembler-x64-inl.h b/src/x64/assembler-x64-inl.h
index cbe2753210d2c31975d6a11ae0cf2237a78edc79..6be1eb732dbf38232bf2db48bc1f51317d46ce82 100644
--- a/src/x64/assembler-x64-inl.h
+++ b/src/x64/assembler-x64-inl.h
@@ -244,7 +244,8 @@ void RelocInfo::set_target_address(Address target, Code* code) {
Assembler::set_target_address_at(pc_, target);
Object* target_code = Code::GetCodeFromTargetAddress(target);
if (code != NULL) {
- // TODO(gc) We do not compact code pages.
+ // TODO(1550) We are passing NULL as a slot because code can never be on
+ // evacuation candidate.
code->GetHeap()->incremental_marking()->RecordWrite(
code, NULL, HeapObject::cast(target_code));
}
« src/spaces.h ('K') | « src/store-buffer.cc ('k') | src/x64/code-stubs-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698