Make GenericeValue into a struct with a union instead of just a union. This

allows an APInt value to be constructed. Remove all the native integer types
from the union. These are replaced with the single IntVal of type APInt.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34945 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Reid Spencer
2007-03-06 03:01:54 +00:00
parent 7ca0689b9b
commit 9d87eb19be
2 changed files with 15 additions and 22 deletions

View File

@ -24,7 +24,7 @@
namespace llvm {
union GenericValue;
struct GenericValue;
class Constant;
class Function;
class GlobalVariable;