File tree Expand file tree Collapse file tree 1 file changed +0
-12
lines changed Expand file tree Collapse file tree 1 file changed +0
-12
lines changed Original file line number Diff line number Diff line change @@ -1178,11 +1178,7 @@ class LineNumberPrinterHandler : public AsmPrinterHandler {
11781178 Buffer.clear ();
11791179 }
11801180
1181- #if JL_LLVM_VERSION >= 190000
1182- virtual void setSymbolSize (const MCSymbol *Sym, uint64_t Size) {}
1183- #else
11841181 virtual void setSymbolSize (const MCSymbol *Sym, uint64_t Size) override {}
1185- #endif
11861182 // virtual void beginModule(Module *M) override {}
11871183 virtual void endModule () override {}
11881184 // / note that some AsmPrinter implementations may not call beginFunction at all
@@ -1201,19 +1197,11 @@ class LineNumberPrinterHandler : public AsmPrinterHandler {
12011197 // virtual void beginFunclet(const MachineBasicBlock &MBB,
12021198 // MCSymbol *Sym = nullptr) override {}
12031199 // virtual void endFunclet() override {}
1204- #if JL_LLVM_VERSION >= 190000
1205- virtual void beginInstruction (const MachineInstr *MI) {
1206- #else
12071200 virtual void beginInstruction (const MachineInstr *MI) override {
1208- #endif
12091201 LinePrinter.emitInstructionAnnot (MI->getDebugLoc (), Stream);
12101202 emitAndReset ();
12111203 }
1212- #if JL_LLVM_VERSION >= 190000
1213- virtual void endInstruction () {}
1214- #else
12151204 virtual void endInstruction () override {}
1216- #endif
12171205};
12181206
12191207// get a native assembly for llvm::Function
You can’t perform that action at this time.
0 commit comments