diff options
Diffstat (limited to 'lib/VMCore/ConstantFold.h')
-rw-r--r-- | lib/VMCore/ConstantFold.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/VMCore/ConstantFold.h b/lib/VMCore/ConstantFold.h index 24ef180..676b4b8 100644 --- a/lib/VMCore/ConstantFold.h +++ b/lib/VMCore/ConstantFold.h @@ -22,6 +22,7 @@ #include <vector> namespace llvm { + class Value; class Constant; struct Type; @@ -33,7 +34,7 @@ namespace llvm { Constant *ConstantFoldBinaryInstruction(unsigned Opcode, const Constant *V1, const Constant *V2); Constant *ConstantFoldGetElementPtr(const Constant *C, - const std::vector<Constant*> &IdxList); + const std::vector<Value*> &IdxList); } // End llvm namespace #endif |