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 | 69fa5c0d99e71145c06831a466b3cb11dea87e5f (patch) | |
tree | a11d6068ea052a5dec12317ce3d546797c739ac1 /llvm/lib/IR/AttributeImpl.h | |
parent | f0537ab6815c3b2b7ef4d8cd4779285108fe8a08 (diff) | |
download | bcm5719-llvm-69fa5c0d99e71145c06831a466b3cb11dea87e5f.tar.gz bcm5719-llvm-69fa5c0d99e71145c06831a466b3cb11dea87e5f.zip |
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.
llvm-svn: 171923
Diffstat (limited to 'llvm/lib/IR/AttributeImpl.h')
-rw-r--r-- | llvm/lib/IR/AttributeImpl.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/llvm/lib/IR/AttributeImpl.h b/llvm/lib/IR/AttributeImpl.h index 7bb666a40a1..1164d688bf2 100644 --- a/llvm/lib/IR/AttributeImpl.h +++ b/llvm/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); }; //===----------------------------------------------------------------------===// |