diff options
Diffstat (limited to 'include/llvm/Support/NoFolder.h')
-rw-r--r-- | include/llvm/Support/NoFolder.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/Support/NoFolder.h b/include/llvm/Support/NoFolder.h index 0072471..4540f02 100644 --- a/include/llvm/Support/NoFolder.h +++ b/include/llvm/Support/NoFolder.h @@ -131,7 +131,7 @@ public: Constant *CreateInBoundsGetElementPtr(Constant *C, Constant* const *IdxList, unsigned NumIdx) const { - return ConstantExpr::getGetElementPtr(C, IdxList, NumIdx); + return ConstantExpr::getInBoundsGetElementPtr(C, IdxList, NumIdx); } Value *CreateInBoundsGetElementPtr(Constant *C, Value* const *IdxList, unsigned NumIdx) const { |