summaryrefslogtreecommitdiffstats
path: root/llvm/lib/ExecutionEngine
diff options
context:
space:
mode:
authorJeffrey Yasskin <jyasskin@google.com>2009-07-10 22:13:21 +0000
committerJeffrey Yasskin <jyasskin@google.com>2009-07-10 22:13:21 +0000
commit228be77c1913fea9011586dc2aaea9772d907188 (patch)
tree0ca1f3e21b6be6543d2653bfe2e45057fe265993 /llvm/lib/ExecutionEngine
parenta6009306c25f19b598e8164ae9f1d60fa6abcae3 (diff)
downloadbcm5719-llvm-228be77c1913fea9011586dc2aaea9772d907188.tar.gz
bcm5719-llvm-228be77c1913fea9011586dc2aaea9772d907188.zip
Oops. s/#if defined(USE_OPROFILE)/#if USE_OPROFILE/. We #define
USE_OPROFILE to 0 on some paths through configure, which does the wrong thing with #if defined(). llvm-svn: 75300
Diffstat (limited to 'llvm/lib/ExecutionEngine')
-rw-r--r--llvm/lib/ExecutionEngine/JIT/OProfileJITEventListener.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/ExecutionEngine/JIT/OProfileJITEventListener.cpp b/llvm/lib/ExecutionEngine/JIT/OProfileJITEventListener.cpp
index 1cc45139da1..6263a5b500d 100644
--- a/llvm/lib/ExecutionEngine/JIT/OProfileJITEventListener.cpp
+++ b/llvm/lib/ExecutionEngine/JIT/OProfileJITEventListener.cpp
@@ -25,7 +25,7 @@
#include <stddef.h>
using namespace llvm;
-#if defined(USE_OPROFILE)
+#if USE_OPROFILE
#include <opagent.h>
@@ -96,7 +96,7 @@ JITEventListener *createOProfileJITEventListener() {
}
}
-#else // !defined(USE_OPROFILE)
+#else // USE_OPROFILE
namespace llvm {
// By defining this to return NULL, we can let clients call it unconditionally,
@@ -106,4 +106,4 @@ JITEventListener *createOProfileJITEventListener() {
}
} // namespace llvm
-#endif // defined(USE_OPROFILE)
+#endif // USE_OPROFILE
OpenPOWER on IntegriCloud