aboutsummaryrefslogtreecommitdiff
path: root/lib/ExecutionEngine/Interpreter/Interpreter.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ExecutionEngine/Interpreter/Interpreter.h')
-rw-r--r--lib/ExecutionEngine/Interpreter/Interpreter.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/ExecutionEngine/Interpreter/Interpreter.h b/lib/ExecutionEngine/Interpreter/Interpreter.h
index 791419d4ad..eba8ea9c32 100644
--- a/lib/ExecutionEngine/Interpreter/Interpreter.h
+++ b/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;