Skip to content

Commit d48df5e

Browse files
authored
bc: Remove compat methods from CallSite that handled InvokeInst. (#594)
1 parent 3cf6d41 commit d48df5e

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

include/remill/BC/Compat/CallSite.h

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ struct CallSite : private ::llvm::CallSite {
4242
* as well.
4343
*/
4444
using parent::isCall;
45-
using parent::isInvoke;
4645
using parent::parent;
4746
using parent::operator bool;
4847
using parent::getCalledFunction;
@@ -69,10 +68,6 @@ struct CallSite {
6968
CallSite(::llvm::User *user)
7069
: CallSite(::llvm::dyn_cast_or_null<::llvm::Instruction>(user)) {}
7170

72-
bool isInvoke() const {
73-
return cb && ::llvm::isa<::llvm::InvokeInst>(*cb);
74-
}
75-
7671
bool isCall() const {
7772
return cb && ::llvm::isa<::llvm::CallInst>(*cb);
7873
}

0 commit comments

Comments
 (0)