From: Reid Spencer Date: Sat, 3 Mar 2007 07:36:44 +0000 (+0000) Subject: Add APIntVal as a possible GenericeValue. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=1416862d7c9382a58813f0609c4d4d1c858724c8;p=oota-llvm.git Add APIntVal as a possible GenericeValue. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34879 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/ExecutionEngine/GenericValue.h b/include/llvm/ExecutionEngine/GenericValue.h index 9cd0672e93c..930261cecc9 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;