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

Unified Diff: src/serialize.cc

Issue 640303006: Weak Cells (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 2 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/serialize.cc
diff --git a/src/serialize.cc b/src/serialize.cc
index c28721900f7f7a96ff90ed5ea72e5cf939b62388..1f7bea80d8f106ae5389e861c84baf601284cb3a 100644
--- a/src/serialize.cc
+++ b/src/serialize.cc
@@ -632,6 +632,9 @@ void Deserializer::Deserialize(Isolate* isolate) {
isolate_->heap()->undefined_value());
isolate_->heap()->set_array_buffers_list(
isolate_->heap()->undefined_value());
+ isolate_->heap()->set_encountered_weak_cells(
+ isolate_->heap()->undefined_value());
+
// The allocation site list is build during root iteration, but if no sites
// were encountered then it needs to be initialized to undefined.

Powered by Google App Engine
This is Rietveld 408576698