Commit d779181b authored by oth's avatar oth Committed by Commit bot

Remove code link from serialization state.

Code::WipeOutHeader now nulls out the next code link to avoid
embedding that address in snapshot.

BUG=
LOG=NO

Review URL: https://codereview.chromium.org/1310503006

Cr-Commit-Position: refs/heads/master@{#30544}
parent d8df7468
...@@ -6417,6 +6417,7 @@ void Code::WipeOutHeader() { ...@@ -6417,6 +6417,7 @@ void Code::WipeOutHeader() {
if (!READ_FIELD(this, kTypeFeedbackInfoOffset)->IsSmi()) { if (!READ_FIELD(this, kTypeFeedbackInfoOffset)->IsSmi()) {
WRITE_FIELD(this, kTypeFeedbackInfoOffset, NULL); WRITE_FIELD(this, kTypeFeedbackInfoOffset, NULL);
} }
WRITE_FIELD(this, kNextCodeLinkOffset, NULL);
} }
......
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