You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some CachedCall cleanup, in preparation for reversing argument order.
Reviewed by Gavin Barraclough.
* bytecode/CodeBlock.cpp:
(JSC::CodeBlock::stronglyVisitWeakReferences): A build fix for the interpreter,
so I can test it.
* interpreter/CachedCall.h:
(JSC::CachedCall::CachedCall): Renamed argCount to argumentCount because
we are not that desperate for character saving.
(JSC::CachedCall::setThis):
(JSC::CachedCall::setArgument): Adopted new 0-based argument indexing for
CallFrameClosure.
* interpreter/CallFrameClosure.h:
(JSC::CallFrameClosure::setThis):
(JSC::CallFrameClosure::setArgument):
(JSC::CallFrameClosure::resetCallFrame): Provide 0-based argument indexing,
with an explicit setter for 'this', since that's how most clients think.
* interpreter/Interpreter.cpp:
(JSC::Interpreter::prepareForRepeatCall):
* interpreter/Interpreter.h: Change argCount to argumentCountIncludingThis,
for clarity.
Canonical link: https://commits.webkit.org/89056@main
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@100540 268f45cc-cd09-0410-ab3c-d52691b4dbfc
for (unsigned i = 0; i < m_dfgData->transitions.size(); ++i) {
1667
1670
if (!!m_dfgData->transitions[i].m_codeOrigin)
1668
1671
visitor.append(&m_dfgData->transitions[i].m_codeOrigin); // Almost certainly not necessary, since the code origin should also be a weak reference. Better to be safe, though.
0 commit comments