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

Description Andy Wingo 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.
Comment 1 Andy Wingo 2012-02-09 08:07:53 PST
Created attachment 126308 [details]
Patch
Comment 2 WebKit Review Bot 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>
Comment 3 WebKit Review Bot 2012-02-09 19:49:11 PST
All reviewed patches have been landed.  Closing bug.