From 1416862d7c9382a58813f0609c4d4d1c858724c8 Mon Sep 17 00:00:00 2001 From: Reid Spencer <rspencer@reidspencer.com> Date: Sat, 3 Mar 2007 07:36:44 +0000 Subject: [PATCH] Add APIntVal as a possible GenericeValue. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34879 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/ExecutionEngine/GenericValue.h | 3 +++ 1 file changed, 3 insertions(+) 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;