Bug 78242

Summary: Eliminate dead code in BytecodeGenerator::resolve()
Product: WebKit Reporter: Andy Wingo <wingo>
Component: JavaScriptCoreAssignee: Andy Wingo <wingo>
Status: RESOLVED FIXED    
Severity: Normal CC: barraclough, ggaren, oliver, webkit.review.bot
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch none

Andy Wingo
Reported 2012-02-09 08:05:14 PST
BytecodeGenerator::shouldOptimizeLocals() is only true for FunctionCode, and thus cannot be true for GlobalCode. This patch removes an impossible branch.
Attachments
Patch (2.02 KB, patch)
2012-02-09 08:07 PST, Andy Wingo
no flags
Andy Wingo
Comment 1 2012-02-09 08:07:53 PST
WebKit Review Bot
Comment 2 2012-02-09 19:49:07 PST
Comment on attachment 126308 [details] Patch Clearing flags on attachment: 126308 Committed r107348: <http://trac.webkit.org/changeset/107348>
WebKit Review Bot
Comment 3 2012-02-09 19:49:11 PST
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.