Add APIntVal as a possible GenericeValue.
authorReid Spencer <rspencer@reidspencer.com>
Sat, 3 Mar 2007 07:36:44 +0000 (07:36 +0000)
committerReid Spencer <rspencer@reidspencer.com>
Sat, 3 Mar 2007 07:36:44 +0000 (07:36 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34879 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/ExecutionEngine/GenericValue.h

index 9cd0672e93c1228e1363129dbf26ca02a6b79d6b..930261cecc9da4f2a0e394c38226a001d75fb6cb 100644 (file)
@@ -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;