Fix build when DFG_JIT is not enabled
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 27 Feb 2013 18:34:33 +0000 (18:34 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 27 Feb 2013 18:34:33 +0000 (18:34 +0000)
https://bugs.webkit.org/show_bug.cgi?id=110991

Patch by Julien Brianceau <jbrianceau@nds.com> on 2013-02-27
Reviewed by Csaba Osztrogon√°c.

* jit/JIT.h:
(JSC::JIT::canBeOptimizedOrInlined):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@144210 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/JavaScriptCore/ChangeLog
Source/JavaScriptCore/jit/JIT.h

index 99bf690..4a3b778 100644 (file)
@@ -1,3 +1,13 @@
+2013-02-27  Julien Brianceau   <jbrianceau@nds.com>
+
+        Fix build when DFG_JIT is not enabled
+        https://bugs.webkit.org/show_bug.cgi?id=110991
+
+        Reviewed by Csaba Osztrogon√°c.
+
+        * jit/JIT.h:
+        (JSC::JIT::canBeOptimizedOrInlined):
+
 2013-02-27  Simon Hausmann  <simon.hausmann@digia.com>
 
         [Qt][Mac] Fix massive parallel builds
index d21ccce..ad25a59 100644 (file)
@@ -901,6 +901,7 @@ namespace JSC {
         bool shouldEmitProfiling() { return m_shouldEmitProfiling; }
 #else
         bool canBeOptimized() { return false; }
+        bool canBeOptimizedOrInlined() { return false; }
         // Enables use of value profiler with tiered compilation turned off,
         // in which case all code gets profiled.
         bool shouldEmitProfiling() { return true; }