[llvm-commits] [llvm] r75300 - /llvm/trunk/lib/ExecutionEngine/JIT/OProfileJITEventListener.cpp
Jeffrey Yasskin
jyasskin at google.com
Fri Jul 10 15:13:21 PDT 2009
Author: jyasskin
Date: Fri Jul 10 17:13:21 2009
New Revision: 75300
URL: http://llvm.org/viewvc/llvm-project?rev=75300&view=rev
Log:
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().
Modified:
llvm/trunk/lib/ExecutionEngine/JIT/OProfileJITEventListener.cpp
Modified: llvm/trunk/lib/ExecutionEngine/JIT/OProfileJITEventListener.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/ExecutionEngine/JIT/OProfileJITEventListener.cpp?rev=75300&r1=75299&r2=75300&view=diff
==============================================================================
--- llvm/trunk/lib/ExecutionEngine/JIT/OProfileJITEventListener.cpp (original)
+++ llvm/trunk/lib/ExecutionEngine/JIT/OProfileJITEventListener.cpp Fri Jul 10 17:13:21 2009
@@ -25,7 +25,7 @@
#include <stddef.h>
using namespace llvm;
-#if defined(USE_OPROFILE)
+#if USE_OPROFILE
#include <opagent.h>
@@ -96,7 +96,7 @@
}
}
-#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 @@
}
} // namespace llvm
-#endif // defined(USE_OPROFILE)
+#endif // USE_OPROFILE
More information about the llvm-commits
mailing list