Commit f51b7edd authored by mlippautz's avatar mlippautz Committed by Commit bot

[heap] Use right BodyDescriptor for JSWeakCollection

Workes by accident when using the JSObject descriptor as it also implements
strong semantics.

BUG=chromium:651354

Review-Url: https://codereview.chromium.org/2485163003
Cr-Commit-Position: refs/heads/master@{#40842}
parent d50931f9
......@@ -84,7 +84,10 @@ void StaticNewSpaceVisitor<StaticVisitor>::Initialize() {
table_.Register(kVisitFreeSpace, &VisitFreeSpace);
table_.Register(kVisitJSWeakCollection, &JSObjectVisitor::Visit);
table_.Register(
kVisitJSWeakCollection,
&FlexibleBodyVisitor<StaticVisitor, JSWeakCollection::BodyDescriptor,
int>::Visit);
table_.Register(kVisitJSRegExp, &JSObjectVisitor::Visit);
......
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