summaryrefslogtreecommitdiffstats
path: root/llvm/lib/ExecutionEngine/Interpreter/Interpreter.h
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib/ExecutionEngine/Interpreter/Interpreter.h')
-rw-r--r--llvm/lib/ExecutionEngine/Interpreter/Interpreter.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/llvm/lib/ExecutionEngine/Interpreter/Interpreter.h b/llvm/lib/ExecutionEngine/Interpreter/Interpreter.h
index 791419d4ad9..eba8ea9c327 100644
--- a/llvm/lib/ExecutionEngine/Interpreter/Interpreter.h
+++ b/llvm/lib/ExecutionEngine/Interpreter/Interpreter.h
@@ -20,6 +20,8 @@ class ReturnInst;
class BranchInst;
class AllocationInst;
+typedef uint64_t PointerTy;
+
union GenericValue {
bool BoolVal;
unsigned char UByteVal;
@@ -32,7 +34,7 @@ union GenericValue {
int64_t LongVal;
double DoubleVal;
float FloatVal;
- uint64_t PointerVal;
+ PointerTy PointerVal;
};
typedef vector<GenericValue> ValuePlaneTy;
OpenPOWER on IntegriCloud