summaryrefslogtreecommitdiff
path: root/AK/Queue.h
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2023-06-02 08:17:28 +0200
committerAndreas Kling <kling@serenityos.org>2023-06-02 10:33:12 +0200
commit5617dd1c839eb27168f933bf8a93d2707ddba25a (patch)
treeba34b0aeb561ff362db11bf658db81082243e809 /AK/Queue.h
parent0eddee44f3d594ba702bc496ea2591b686830900 (diff)
downloadserenity-5617dd1c839eb27168f933bf8a93d2707ddba25a.zip
LibJS: Store PrivateElement values in Handle<Value>
This fixes an issue where private element values were not always protected from GC. I found two instances where this was happening: - ECMAScriptFunctionObject did not mark m_private_methods - ClassDefinitionEvaluation had two Vector<PrivateElement> that were opaque to the garbage collector, and so if GC occurred while constructing a class instance, some or all of its private elements could get incorrectly collected.
Diffstat (limited to 'AK/Queue.h')
0 files changed, 0 insertions, 0 deletions