Summary: | CodeBlock::m_numCalleeRegisters shouldn't also mean frame size, frame size needed for exit, or any other unrelated things | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Filip Pizlo <fpizlo> | ||||||
Component: | JavaScriptCore | Assignee: | Filip Pizlo <fpizlo> | ||||||
Status: | RESOLVED FIXED | ||||||||
Severity: | Normal | CC: | barraclough, ggaren, mark.lam, mhahnenberg, msaboff, oliver, sam | ||||||
Priority: | P2 | ||||||||
Version: | 528+ (Nightly build) | ||||||||
Hardware: | All | ||||||||
OS: | All | ||||||||
Bug Depends on: | |||||||||
Bug Blocks: | 116888 | ||||||||
Attachments: |
|
Description
Filip Pizlo
2013-11-22 15:15:57 PST
Created attachment 217719 [details]
the patch
Comment on attachment 217719 [details] the patch View in context: https://bugs.webkit.org/attachment.cgi?id=217719&action=review r=me > Source/JavaScriptCore/dfg/DFGGraph.cpp:709 > + unsigned count = m_profiledBlock->m_numCalleeRegisters; JIT::frameRegisterCountFor(m_profiledBlock) > Source/JavaScriptCore/dfg/DFGGraph.cpp:713 > + unsigned requiredCount = VirtualRegister(inlineCallFrame->stackOffset).toLocal() + 1 + codeBlock->m_numCalleeRegisters; JIT::frameRegisterCountFor(codeBlock) > Source/JavaScriptCore/dfg/DFGGraph.cpp:715 > + if (requiredCount > count) > + count = requiredCount; max? Created attachment 217724 [details]
patch for landing
Landed in http://trac.webkit.org/changeset/159721 |