summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/llvm/ExecutionEngine/GenericValue.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/llvm/ExecutionEngine/GenericValue.h b/include/llvm/ExecutionEngine/GenericValue.h
index 9cd0672e93..930261cecc 100644
--- a/include/llvm/ExecutionEngine/GenericValue.h
+++ b/include/llvm/ExecutionEngine/GenericValue.h
@@ -20,6 +20,8 @@
namespace llvm {
typedef uintptr_t PointerTy;
+class APInt;
+class Type;
union GenericValue {
bool Int1Val;
@@ -27,6 +29,7 @@ union GenericValue {
unsigned short Int16Val;
unsigned int Int32Val;
uint64_t Int64Val;
+ APInt *APIntVal;
double DoubleVal;
float FloatVal;
struct { unsigned int first; unsigned int second; } UIntPairVal;