}
// Determine if there is a call to setjmp in the machine function.
- MF->setCallsSetJmp(Fn.hasFnAttr(Attribute::ReturnsTwice));
+ MF->setCallsSetJmp(Fn.callsFunctionThatReturnsTwice());
// Replace forward-declared registers with the registers containing
// the desired value.