diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2020-07-26 19:36:28 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2020-07-26 19:36:28 +0000 |
commit | cfca06d7963fa0909f90483b42a6d7d194d01e08 (patch) | |
tree | 209fb2a2d68f8f277793fc8df46c753d31bc853b /llvm/lib/CodeGen/AsmPrinter/WasmException.cpp | |
parent | 706b4fc47bbc608932d3b491ae19a3b9cde9497b (diff) |
Notes
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/WasmException.cpp')
-rw-r--r-- | llvm/lib/CodeGen/AsmPrinter/WasmException.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/WasmException.cpp b/llvm/lib/CodeGen/AsmPrinter/WasmException.cpp index 444b0ed17b6d..baef4d2cc849 100644 --- a/llvm/lib/CodeGen/AsmPrinter/WasmException.cpp +++ b/llvm/lib/CodeGen/AsmPrinter/WasmException.cpp @@ -27,7 +27,7 @@ void WasmException::endModule() { Mangler::getNameWithPrefix(NameStr, "__cpp_exception", Asm->getDataLayout()); if (Asm->OutContext.lookupSymbol(NameStr)) { MCSymbol *ExceptionSym = Asm->GetExternalSymbolSymbol("__cpp_exception"); - Asm->OutStreamer->EmitLabel(ExceptionSym); + Asm->OutStreamer->emitLabel(ExceptionSym); } } @@ -58,7 +58,7 @@ void WasmException::endFunction(const MachineFunction *MF) { // end marker and set the size as the difference between the start end the end // marker. MCSymbol *LSDAEndLabel = Asm->createTempSymbol("GCC_except_table_end"); - Asm->OutStreamer->EmitLabel(LSDAEndLabel); + Asm->OutStreamer->emitLabel(LSDAEndLabel); MCContext &OutContext = Asm->OutStreamer->getContext(); const MCExpr *SizeExp = MCBinaryExpr::createSub( MCSymbolRefExpr::create(LSDAEndLabel, OutContext), |