summaryrefslogtreecommitdiff
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.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/llvm/ExecutionEngine/GenericValue.h b/include/llvm/ExecutionEngine/GenericValue.h
index e160e3aafd..21b99421b3 100644
--- a/include/llvm/ExecutionEngine/GenericValue.h
+++ b/include/llvm/ExecutionEngine/GenericValue.h
@@ -24,11 +24,15 @@ typedef void* PointerTy;
class APInt;
struct GenericValue {
+ struct IntPair {
+ unsigned int first;
+ unsigned int second;
+ };
union {
double DoubleVal;
float FloatVal;
PointerTy PointerVal;
- struct { unsigned int first; unsigned int second; } UIntPairVal;
+ struct IntPair UIntPairVal;
unsigned char Untyped[8];
};
APInt IntVal; // also used for long doubles