|Summary:||Clear SymbolTable after codegen for Function codeblocks that don't require an activation|
|Product:||WebKit||Reporter:||Sam Weinig <sam>|
|Version:||528+ (Nightly build)|
|OS:||OS X 10.5|
Description Sam Weinig 2008-12-08 22:00:23 PST
Only codeblocks for functions that need an activation, which we can determine statically, need to keep their SymbolTable around after codegen.
Comment 2 Cameron Zwarich (cpst) 2008-12-08 22:05:51 PST
Comment on attachment 25873 [details] patch r=me
Comment 3 Cameron Zwarich (cpst) 2008-12-08 22:19:37 PST
Oliver just pointed out that this will cause problems for the debugger -- you should check needsFullScopeChain on the CodeBlock instead, since that also includes the case of debugging.
Comment 4 Oliver Hunt 2008-12-08 23:25:30 PST
Comment on attachment 25873 [details] patch removing r+ flag due to regression Sam found -- f.arguments.argumentName fails :-(