Reviewers: vogelheim,
Description:
Initialize "weakness_type" field in global handles
BUG=4122
[email protected]
LOG=n
Please review this at https://codereview.chromium.org/1143143002/
Base URL: https://chromium.googlesource.com/v8/v8.git@master
Affected files (+1, -0 lines):
M src/global-handles.cc
Index: src/global-handles.cc
diff --git a/src/global-handles.cc b/src/global-handles.cc
index
8e0ff13d3341e8ab6bb9befdbd481186312e2159..b8ef33f76e35659ad442869a45c2b7e97a748dbc
100644
--- a/src/global-handles.cc
+++ b/src/global-handles.cc
@@ -76,6 +76,7 @@ class GlobalHandles::Node {
index_ = static_cast<uint8_t>(index);
DCHECK(static_cast<int>(index_) == index);
set_state(FREE);
+ set_weakness_type(NORMAL_WEAK);
set_in_new_space_list(false);
parameter_or_next_free_.next_free = *first_free;
*first_free = this;
--
--
v8-dev mailing list
[email protected]
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 [email protected].
For more options, visit https://groups.google.com/d/optout.