aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/ExecutionEngine
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2007-03-03 07:36:44 +0000
committerReid Spencer <rspencer@reidspencer.com>2007-03-03 07:36:44 +0000
commit1416862d7c9382a58813f0609c4d4d1c858724c8 (patch)
tree3514d636d480eea3c6e3a521ec85a10209d034ff /include/llvm/ExecutionEngine
parenta7288df62db835ba4958d6e7c7fca237682840db (diff)
downloadexternal_llvm-1416862d7c9382a58813f0609c4d4d1c858724c8.zip
external_llvm-1416862d7c9382a58813f0609c4d4d1c858724c8.tar.gz
external_llvm-1416862d7c9382a58813f0609c4d4d1c858724c8.tar.bz2
Add APIntVal as a possible GenericeValue.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34879 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/ExecutionEngine')
-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 9cd0672..930261c 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;