#define LLVM_IOTHER_H
#include "llvm/InstrTypes.h"
-#include "llvm/Function.h"
//===----------------------------------------------------------------------===//
// CastInst Class
bool hasSideEffects() const { return true; }
const Function *getCalledFunction() const {
- return dyn_cast<Function>(Operands[0]);
+ return dyn_cast<Function>(Operands[0].get());
}
Function *getCalledFunction() {
- return dyn_cast<Function>(Operands[0]);
+ return dyn_cast<Function>(Operands[0].get());
}
// getCalledValue - Get a pointer to a method that is invoked by this inst.