Bug 104424 - JSC::CodeBlock::getJITType() missing const qualifier when JIT disabled
Summary: JSC::CodeBlock::getJITType() missing const qualifier when JIT disabled
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-12-07 18:26 PST by Jonathan Liu
Modified: 2012-12-07 19:55 PST (History)
2 users (show)

See Also:


Attachments
Patch (1.33 KB, patch)
2012-12-07 18:31 PST, Jonathan Liu
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.