Title: [137010] trunk/Source/_javascript_Core
Revision
137010
Author
[email protected]
Date
2012-12-07 19:54:54 -0800 (Fri, 07 Dec 2012)

Log Message

Add missing const qualifier to JSC::CodeBlock::getJITType()
https://bugs.webkit.org/show_bug.cgi?id=104424

Patch by Jonathan Liu <[email protected]> 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):

Modified Paths

Diff

Modified: trunk/Source/_javascript_Core/ChangeLog (137009 => 137010)


--- trunk/Source/_javascript_Core/ChangeLog	2012-12-08 03:14:31 UTC (rev 137009)
+++ trunk/Source/_javascript_Core/ChangeLog	2012-12-08 03:54:54 UTC (rev 137010)
@@ -1,3 +1,16 @@
+2012-12-07  Jonathan Liu  <[email protected]>
+
+        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-12-07  Oliver Hunt  <[email protected]>
 
         Make function code cache proportional to main codeblock cache

Modified: trunk/Source/_javascript_Core/bytecode/CodeBlock.h (137009 => 137010)


--- trunk/Source/_javascript_Core/bytecode/CodeBlock.h	2012-12-08 03:14:31 UTC (rev 137009)
+++ trunk/Source/_javascript_Core/bytecode/CodeBlock.h	2012-12-08 03:54:54 UTC (rev 137010)
@@ -528,7 +528,7 @@
             return result;
         }
 #else
-        JITCode::JITType getJITType() { return JITCode::BaselineJIT; }
+        JITCode::JITType getJITType() const { return JITCode::BaselineJIT; }
 #endif
 
         ScriptExecutable* ownerExecutable() const { return m_ownerExecutable.get(); }
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to