[llvm-commits] CVS: llvm/include/llvm/ExecutionEngine/ExecutionEngine.h GenericValue.h
Brian Gaeke
gaeke at cs.uiuc.edu
Tue Nov 11 16:46:05 PST 2003
Changes in directory llvm/include/llvm/ExecutionEngine:
ExecutionEngine.h updated: 1.17 -> 1.18
GenericValue.h updated: 1.2 -> 1.3
---
Log message:
Put all LLVM code into the llvm namespace, as per bug 109.
---
Diffs of the changes: (+9 -0)
Index: llvm/include/llvm/ExecutionEngine/ExecutionEngine.h
diff -u llvm/include/llvm/ExecutionEngine/ExecutionEngine.h:1.17 llvm/include/llvm/ExecutionEngine/ExecutionEngine.h:1.18
--- llvm/include/llvm/ExecutionEngine/ExecutionEngine.h:1.17 Fri Oct 24 14:58:15 2003
+++ llvm/include/llvm/ExecutionEngine/ExecutionEngine.h Tue Nov 11 16:41:31 2003
@@ -19,6 +19,9 @@
#include <string>
#include <map>
#include <cassert>
+
+namespace llvm {
+
class Constant;
class Function;
union GenericValue;
@@ -91,5 +94,7 @@
GenericValue getConstantValue(const Constant *C);
GenericValue LoadValueFromMemory(GenericValue *Ptr, const Type *Ty);
};
+
+} // End llvm namespace
#endif
Index: llvm/include/llvm/ExecutionEngine/GenericValue.h
diff -u llvm/include/llvm/ExecutionEngine/GenericValue.h:1.2 llvm/include/llvm/ExecutionEngine/GenericValue.h:1.3
--- llvm/include/llvm/ExecutionEngine/GenericValue.h:1.2 Mon Oct 20 15:19:24 2003
+++ llvm/include/llvm/ExecutionEngine/GenericValue.h Tue Nov 11 16:41:31 2003
@@ -17,6 +17,8 @@
#include "Support/DataTypes.h"
+namespace llvm {
+
typedef uint64_t PointerTy;
union GenericValue {
@@ -44,4 +46,6 @@
inline void* GVTOP(const GenericValue &GV) {
return (void*)(intptr_t)GV.PointerVal;
}
+
+} // End llvm namespace
#endif
More information about the llvm-commits
mailing list