diff options
Diffstat (limited to 'llvm/lib/CodeGen/RegAllocBase.cpp')
-rw-r--r-- | llvm/lib/CodeGen/RegAllocBase.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/RegAllocBase.cpp b/llvm/lib/CodeGen/RegAllocBase.cpp index 449033d..e9fcff5 100644 --- a/llvm/lib/CodeGen/RegAllocBase.cpp +++ b/llvm/lib/CodeGen/RegAllocBase.cpp @@ -127,7 +127,8 @@ void RegAllocBase::allocatePhysRegs() { if (AllocOrder.empty()) report_fatal_error("no registers from class available to allocate"); else if (MI && MI->isInlineAsm()) { - MI->emitError("inline assembly requires more registers than available"); + MI->emitInlineAsmError( + "inline assembly requires more registers than available"); } else if (MI) { LLVMContext &Context = MI->getParent()->getParent()->getFunction().getContext(); |