summaryrefslogtreecommitdiff
path: root/src/mesa/pipe/llvm
diff options
context:
space:
mode:
authorZack Rusin <zack@tungstengraphics.com>2007-10-29 10:01:29 -0400
committerKeith Whitwell <keith@tungstengraphics.com>2007-10-29 16:14:10 +0000
commita6a3d8cb755c36d4ae1dc4dbfb310f06862a37b4 (patch)
tree754efd88f96e7cdb24f6404e28979ada233eef4d /src/mesa/pipe/llvm
parenta70c5e37f1c2e43738469e4799ad2b9e7c604782 (diff)
Remove conditionals from the makefiles.
Diffstat (limited to 'src/mesa/pipe/llvm')
-rw-r--r--src/mesa/pipe/llvm/instructions.cpp2
-rw-r--r--src/mesa/pipe/llvm/llvmtgsi.cpp3
-rw-r--r--src/mesa/pipe/llvm/storage.cpp2
3 files changed, 5 insertions, 2 deletions
diff --git a/src/mesa/pipe/llvm/instructions.cpp b/src/mesa/pipe/llvm/instructions.cpp
index 645ab9106f..b0aa0cc746 100644
--- a/src/mesa/pipe/llvm/instructions.cpp
+++ b/src/mesa/pipe/llvm/instructions.cpp
@@ -29,6 +29,7 @@
* Authors:
* Zack Rusin zack@tungstengraphics.com
*/
+#ifdef MESA_LLVM
#include "instructions.h"
@@ -1165,3 +1166,4 @@ llvm::Function * Instructions::findFunction(int label)
return func;
}
+#endif //MESA_LLVM
diff --git a/src/mesa/pipe/llvm/llvmtgsi.cpp b/src/mesa/pipe/llvm/llvmtgsi.cpp
index b57a0f8366..4611ac1766 100644
--- a/src/mesa/pipe/llvm/llvmtgsi.cpp
+++ b/src/mesa/pipe/llvm/llvmtgsi.cpp
@@ -29,6 +29,7 @@
* Authors:
* Zack Rusin zack@tungstengraphics.com
*/
+#ifdef MESA_LLVM
#include "llvmtgsi.h"
@@ -67,8 +68,6 @@
#include <fstream>
#include <iostream>
-#ifdef MESA_LLVM
-
struct gallivm_prog {
llvm::Module *module;
void *function;
diff --git a/src/mesa/pipe/llvm/storage.cpp b/src/mesa/pipe/llvm/storage.cpp
index dca8b39958..ff62fcf3e4 100644
--- a/src/mesa/pipe/llvm/storage.cpp
+++ b/src/mesa/pipe/llvm/storage.cpp
@@ -29,6 +29,7 @@
* Authors:
* Zack Rusin zack@tungstengraphics.com
*/
+#ifdef MESA_LLVM
#include "storage.h"
@@ -391,3 +392,4 @@ void Storage::popTemps()
m_temps = m_tempStack.top();
m_tempStack.pop();
}
+#endif //MESA_LLVM