summaryrefslogtreecommitdiff
path: root/Source
diff options
context:
space:
mode:
authorcommit-queue <commit-queue@webkit.org>2012-12-08 03:54:54 +0000
committerJocelyn Turcotte <jocelyn.turcotte@digia.com>2012-12-10 12:33:39 +0100
commit513e71f247614da1aafabc3b0d671e8dc51da1c7 (patch)
treef704b53737aa61d3c5bab7a01dcfbe70540c2d3e /Source
parent8d7ca597a397207181d3176c555b5a24df8db209 (diff)
downloadqtwebkit-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')
-rw-r--r--Source/JavaScriptCore/ChangeLog13
-rw-r--r--Source/JavaScriptCore/bytecode/CodeBlock.h2
2 files changed, 14 insertions, 1 deletions
diff --git a/Source/JavaScriptCore/ChangeLog b/Source/JavaScriptCore/ChangeLog
index 638d594c7..798086160 100644
--- a/Source/JavaScriptCore/ChangeLog
+++ b/Source/JavaScriptCore/ChangeLog
@@ -1,3 +1,16 @@
+2012-12-07 Jonathan Liu <net147@gmail.com>
+
+ Add missing const qualifier to JSC::CodeBlock::getJITType()
+ https://bugs.webkit.org/show_bug.cgi?id=104424
+
+ 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):
+
2012-11-30 Pierre Rossi <pierre.rossi@gmail.com>
[Qt] Unreviewed speculative Mac build fix after r136232
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(); }