diff options
author | David Greene <greened@obbligato.org> | 2007-09-04 15:46:09 +0000 |
---|---|---|
committer | David Greene <greened@obbligato.org> | 2007-09-04 15:46:09 +0000 |
commit | c656cbb8c20d1ea38bdb5d1ac39dbcd0405a98dc (patch) | |
tree | ad78d988fb13e238e6ac3442f47ef77f22f19695 /llvm/lib/VMCore/ConstantFold.h | |
parent | 77b97002e955949352d2740f7b47c41f9402dec7 (diff) | |
download | bcm5719-llvm-c656cbb8c20d1ea38bdb5d1ac39dbcd0405a98dc.tar.gz bcm5719-llvm-c656cbb8c20d1ea38bdb5d1ac39dbcd0405a98dc.zip |
Update GEP constructors to use an iterator interface to fix
GLIBCXX_DEBUG issues.
llvm-svn: 41697
Diffstat (limited to 'llvm/lib/VMCore/ConstantFold.h')
-rw-r--r-- | llvm/lib/VMCore/ConstantFold.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/lib/VMCore/ConstantFold.h b/llvm/lib/VMCore/ConstantFold.h index e01fa770840..ffb7b1057e5 100644 --- a/llvm/lib/VMCore/ConstantFold.h +++ b/llvm/lib/VMCore/ConstantFold.h @@ -19,6 +19,8 @@ #ifndef CONSTANTFOLDING_H #define CONSTANTFOLDING_H +#include <iterator> + namespace llvm { class Value; class Constant; @@ -46,6 +48,7 @@ namespace llvm { Constant *ConstantFoldCompareInstruction(unsigned short predicate, const Constant *C1, const Constant *C2); + Constant *ConstantFoldGetElementPtr(const Constant *C, Constant* const *Idxs, unsigned NumIdx); } // End llvm namespace |