Skip to content

Commit c561f24

Browse files
alexmalyshevfacebook-github-bot
authored andcommitted
Remove unused lir::Printer methods
Summary: Removing dead code. Reviewed By: martindemello Differential Revision: D79906993 fbshipit-source-id: 68fd8a1e02883d1cdfedb0ea2f01c00ef40f7e1f
1 parent e0c7113 commit c561f24

1 file changed

Lines changed: 0 additions & 10 deletions

File tree

cinderx/Jit/lir/printer.h

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -24,16 +24,6 @@ class Printer {
2424
void print(std::ostream& out, const MemoryIndirect& memind);
2525

2626
private:
27-
const Function* getFunction(const BasicBlock& block) {
28-
return block.function();
29-
}
30-
const Function* getFunction(const Instruction& instr) {
31-
return getFunction(*instr.basicblock());
32-
}
33-
const Function* getFunction(const OperandBase& opnd) {
34-
return getFunction(*opnd.instr());
35-
}
36-
3727
hir::HIRPrinter hir_printer_;
3828
};
3929

0 commit comments

Comments
 (0)