Commit ba0b7f06 authored by jochen's avatar jochen Committed by Commit bot

Initialize "weakness_type" field in global handles

BUG=4122
R=vogelheim@chromium.org
LOG=n

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

Cr-Commit-Position: refs/heads/master@{#28504}
parent 9ff1f53b
...@@ -76,6 +76,7 @@ class GlobalHandles::Node { ...@@ -76,6 +76,7 @@ class GlobalHandles::Node {
index_ = static_cast<uint8_t>(index); index_ = static_cast<uint8_t>(index);
DCHECK(static_cast<int>(index_) == index); DCHECK(static_cast<int>(index_) == index);
set_state(FREE); set_state(FREE);
set_weakness_type(NORMAL_WEAK);
set_in_new_space_list(false); set_in_new_space_list(false);
parameter_or_next_free_.next_free = *first_free; parameter_or_next_free_.next_free = *first_free;
*first_free = this; *first_free = this;
......
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