diff options
author | Bill Wendling <isanbard@gmail.com> | 2013-01-09 00:32:08 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2013-01-09 00:32:08 +0000 |
commit | ff887165bc221c0398c0d4404dc0b22de216dedf (patch) | |
tree | 646dc0a09c5a5d4f857013e15a8a22ac667ef7f9 /lib/IR/AttributeImpl.h | |
parent | 935e35d2b9f889566207b76a7026b63a1619742c (diff) | |
download | llvm-ff887165bc221c0398c0d4404dc0b22de216dedf.tar.gz llvm-ff887165bc221c0398c0d4404dc0b22de216dedf.tar.bz2 llvm-ff887165bc221c0398c0d4404dc0b22de216dedf.tar.xz |
Add the integer value of the ConstantInt instead of the Constant* value.
This is causing some problems. The root cause is unknown at this time.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171923 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/IR/AttributeImpl.h')
-rw-r--r-- | lib/IR/AttributeImpl.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/lib/IR/AttributeImpl.h b/lib/IR/AttributeImpl.h index 7bb666a40a..1164d688bf 100644 --- a/lib/IR/AttributeImpl.h +++ b/lib/IR/AttributeImpl.h @@ -65,12 +65,7 @@ public: Profile(ID, Data, Vals); } static void Profile(FoldingSetNodeID &ID, Constant *Data, - ArrayRef<Constant*> Vals) { - ID.AddPointer(Data); - for (ArrayRef<Constant*>::iterator I = Vals.begin(), E = Vals.end(); - I != E; ++I) - ID.AddPointer(*I); - } + ArrayRef<Constant*> Vals); }; //===----------------------------------------------------------------------===// |