summaryrefslogtreecommitdiffstats
path: root/llvm/lib/VMCore/ConstantFold.h
diff options
context:
space:
mode:
authorDavid Greene <greened@obbligato.org>2007-09-04 15:46:09 +0000
committerDavid Greene <greened@obbligato.org>2007-09-04 15:46:09 +0000
commitc656cbb8c20d1ea38bdb5d1ac39dbcd0405a98dc (patch)
treead78d988fb13e238e6ac3442f47ef77f22f19695 /llvm/lib/VMCore/ConstantFold.h
parent77b97002e955949352d2740f7b47c41f9402dec7 (diff)
downloadbcm5719-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.h3
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
OpenPOWER on IntegriCloud