diff options
Diffstat (limited to 'include/llvm/Support')
-rw-r--r-- | include/llvm/Support/CFG.h | 2 | ||||
-rw-r--r-- | include/llvm/Support/CallSite.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/Support/CFG.h b/include/llvm/Support/CFG.h index 3875f0b..621d50e 100644 --- a/include/llvm/Support/CFG.h +++ b/include/llvm/Support/CFG.h @@ -67,7 +67,7 @@ public: typedef PredIterator<BasicBlock, Value::use_iterator> pred_iterator; typedef PredIterator<const BasicBlock, - Value::use_const_iterator> pred_const_iterator; + Value::const_use_iterator> pred_const_iterator; inline pred_iterator pred_begin(BasicBlock *BB) { return pred_iterator(BB); } inline pred_const_iterator pred_begin(const BasicBlock *BB) { diff --git a/include/llvm/Support/CallSite.h b/include/llvm/Support/CallSite.h index 9d9a30e..480535f 100644 --- a/include/llvm/Support/CallSite.h +++ b/include/llvm/Support/CallSite.h @@ -196,7 +196,7 @@ public: bool isCallee(Value::use_iterator UI) const { return getCallee() == &UI.getUse(); } - bool isCallee(Value::use_const_iterator UI) const { + bool isCallee(Value::const_use_iterator UI) const { return getCallee() == &UI.getUse(); } private: |