(The assertion suppressed the unused variable warning on
Release+Asserts builds, so I didn't notice.)
llvm-svn: 333018
// We should be able to compute the memory usage based on the IR calling
// convention, even if we can't see the definition.
if (MI.isCall()) {
- const Module *M = MF->getFunction().getParent();
- assert(M && "No module?");
-
// Get the function associated with the call. Look at each operand and find
// the one that represents the callee and get its name.
const Function *Callee = nullptr;