Reviewers: Lasse Reichstein,

Description:
Fix crash in partial snapshot test when running with no boot snapshot.

Please review this at http://codereview.chromium.org/8381003/

SVN Base: http://v8.googlecode.com/svn/branches/bleeding_edge/

Affected files:
  M     src/serialize.cc


Index: src/serialize.cc
===================================================================
--- src/serialize.cc    (revision 9744)
+++ src/serialize.cc    (working copy)
@@ -845,7 +845,7 @@
*current = new_object; \ } \ } \ - if (emit_write_barrier) { \ + if (emit_write_barrier && address != NULL) { \ isolate->heap()->RecordWrite(address, static_cast<int>( \ reinterpret_cast<Address>(current) - address)); \ } \


--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to