Bug 104424

Summary: JSC::CodeBlock::getJITType() missing const qualifier when JIT disabled
Product: WebKit Reporter: Jonathan Liu <net147>
Component: JavaScriptCoreAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: hausmann, webkit.review.bot
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch none

Description Jonathan Liu 2012-12-07 18:26:06 PST
If JIT is enabled, JSC::CodeBlock::getJITType() has the const qualifier.
If JIT is disabled, JSC::CodeBlock::getJITType() does not have the const qualifier.

JSC::CodeBlock::getJITType() should have the const qualifier in both cases.
Comment 1 Jonathan Liu 2012-12-07 18:31:41 PST
Created attachment 178320 [details]
Patch
Comment 2 Laszlo Gombos 2012-12-07 18:48:14 PST
Comment on attachment 178320 [details]
Patch

lgtm.
Comment 3 WebKit Review Bot 2012-12-07 19:55:51 PST
Comment on attachment 178320 [details]
Patch

Clearing flags on attachment: 178320

Committed r137010: <http://trac.webkit.org/changeset/137010>
Comment 4 WebKit Review Bot 2012-12-07 19:55:54 PST
All reviewed patches have been landed.  Closing bug.