diff options
author | commit-queue <commit-queue@webkit.org> | 2012-12-08 03:54:54 +0000 |
---|---|---|
committer | Jocelyn Turcotte <jocelyn.turcotte@digia.com> | 2012-12-10 12:33:39 +0100 |
commit | 513e71f247614da1aafabc3b0d671e8dc51da1c7 (patch) | |
tree | f704b53737aa61d3c5bab7a01dcfbe70540c2d3e /Source/JavaScriptCore/bytecode/CodeBlock.h | |
parent | 8d7ca597a397207181d3176c555b5a24df8db209 (diff) | |
download | qtwebkit-513e71f247614da1aafabc3b0d671e8dc51da1c7.tar.gz |
Add missing const qualifier to JSC::CodeBlock::getJITType()
https://bugs.webkit.org/show_bug.cgi?id=104424
Patch by Jonathan Liu <net147@gmail.com> on 2012-12-07
Reviewed by Laszlo Gombos.
JSC::CodeBlock::getJITType() has the const qualifier when JIT is
enabled but is missing the const qualifier when JIT is disabled.
* bytecode/CodeBlock.h:
(JSC::CodeBlock::getJITType):
Change-Id: I4ef9d10a536aa3094c9e814ee6bcbe1bf120829e
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@137010 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Reviewed-by: Jocelyn Turcotte <jocelyn.turcotte@digia.com>
Diffstat (limited to 'Source/JavaScriptCore/bytecode/CodeBlock.h')
-rw-r--r-- | Source/JavaScriptCore/bytecode/CodeBlock.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/JavaScriptCore/bytecode/CodeBlock.h b/Source/JavaScriptCore/bytecode/CodeBlock.h index 20f1e7452..eec95cac1 100644 --- a/Source/JavaScriptCore/bytecode/CodeBlock.h +++ b/Source/JavaScriptCore/bytecode/CodeBlock.h @@ -521,7 +521,7 @@ namespace JSC { return result; } #else - JITCode::JITType getJITType() { return JITCode::BaselineJIT; } + JITCode::JITType getJITType() const { return JITCode::BaselineJIT; } #endif ScriptExecutable* ownerExecutable() const { return m_ownerExecutable.get(); } |