Extract the load/store type verification to a separate function.
[oota-llvm.git] / lib / MC / WinCOFFStreamer.cpp
index e0300af3c908f6f479a9c6a73e47c66fc772da66..eaddfa49832879502320217ede513147b54391a0 100644 (file)
@@ -269,7 +269,7 @@ void MCWinCOFFStreamer::FinishImpl() {
 
 LLVM_ATTRIBUTE_NORETURN
 void MCWinCOFFStreamer::FatalError(const Twine &Msg) const {
-  getContext().FatalError(SMLoc(), Msg);
+  getContext().reportFatalError(SMLoc(), Msg);
 }
 }