aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/ExecutionEngine/GenericValue.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/llvm/ExecutionEngine/GenericValue.h')
-rw-r--r--include/llvm/ExecutionEngine/GenericValue.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/llvm/ExecutionEngine/GenericValue.h b/include/llvm/ExecutionEngine/GenericValue.h
index b64eb79bbd..0446795d31 100644
--- a/include/llvm/ExecutionEngine/GenericValue.h
+++ b/include/llvm/ExecutionEngine/GenericValue.h
@@ -17,6 +17,8 @@
#include "Support/DataTypes.h"
+namespace llvm {
+
typedef uint64_t PointerTy;
union GenericValue {
@@ -44,4 +46,6 @@ inline GenericValue PTOGV(void *P) { return GenericValue(P); }
inline void* GVTOP(const GenericValue &GV) {
return (void*)(intptr_t)GV.PointerVal;
}
+
+} // End llvm namespace
#endif