Fix JSC build when DFG-JIT is disabled
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 22 Aug 2012 13:12:17 +0000 (13:12 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 22 Aug 2012 13:12:17 +0000 (13:12 +0000)
https://bugs.webkit.org/show_bug.cgi?id=94694

Patch by Gabor Ballabas <gaborb@inf.u-szeged.hu> on 2012-08-22
Reviewed by Csaba Osztrogon√°c.

Adding an appropriate guard for fixing the build.

* bytecode/ResolveGlobalStatus.cpp:
(JSC):

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

Source/JavaScriptCore/ChangeLog
Source/JavaScriptCore/bytecode/ResolveGlobalStatus.cpp

index ac3aae5..4cea0d1 100644 (file)
@@ -1,3 +1,15 @@
+2012-08-22  Gabor Ballabas  <gaborb@inf.u-szeged.hu>
+
+        Fix JSC build when DFG-JIT is disabled
+        https://bugs.webkit.org/show_bug.cgi?id=94694
+
+        Reviewed by Csaba Osztrogon√°c.
+
+        Adding an appropriate guard for fixing the build.
+
+        * bytecode/ResolveGlobalStatus.cpp:
+        (JSC):
+
 2012-08-21  Mark Lam  <mark.lam@apple.com>
 
         Introducing the VMInspector for VM debugging use.
index ddc7700..783e7c6 100644 (file)
@@ -32,7 +32,7 @@
 
 namespace JSC {
 
-#if ENABLE(LLINT) || ENABLE(JIT)
+#if ENABLE(LLINT) || (ENABLE(JIT) && ENABLE(VALUE_PROFILER))
 static ResolveGlobalStatus computeForStructure(CodeBlock* codeBlock, Structure* structure, Identifier& identifier)
 {
     unsigned attributesIgnored;