Reviewers: Michael Achenbach, rmcilroy, Yang OOO until mid October,

Message:
machenb...@chromium.org: PTAL
rmcil...@chromium.org: PTAL

One line change that I'd discussed with Yang when looking at snapshot generation
issues for android.

yang...@chromium.org: JFYI



Description:
Code::WipeOutHeader needs to null out the next code link to avoid
embedding that address in snapshot.

BUG=
LOG=NO

Please review this at https://codereview.chromium.org/1310503006/

Base URL: https://chromium.googlesource.com/v8/v8.git@master

Affected files (+1, -0 lines):
  M src/objects-inl.h


Index: src/objects-inl.h
diff --git a/src/objects-inl.h b/src/objects-inl.h
index 5b3c38e1e2958326a9ecff327c2f7f7227430b88..fb574619608153f221f7cdccbb80ffd4199a94b0 100644
--- a/src/objects-inl.h
+++ b/src/objects-inl.h
@@ -6417,6 +6417,7 @@ void Code::WipeOutHeader() {
   if (!READ_FIELD(this, kTypeFeedbackInfoOffset)->IsSmi()) {
     WRITE_FIELD(this, kTypeFeedbackInfoOffset, NULL);
   }
+  WRITE_FIELD(this, kNextCodeLinkOffset, NULL);
 }




--
--
v8-dev mailing list
v8-dev@googlegroups.com
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to v8-dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to