aboutsummaryrefslogtreecommitdiff
path: root/backend/lib/AsmPrinter/TargetMCInstLowering.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'backend/lib/AsmPrinter/TargetMCInstLowering.cpp')
-rw-r--r--backend/lib/AsmPrinter/TargetMCInstLowering.cpp35
1 files changed, 0 insertions, 35 deletions
diff --git a/backend/lib/AsmPrinter/TargetMCInstLowering.cpp b/backend/lib/AsmPrinter/TargetMCInstLowering.cpp
index c171034..898ca2e 100644
--- a/backend/lib/AsmPrinter/TargetMCInstLowering.cpp
+++ b/backend/lib/AsmPrinter/TargetMCInstLowering.cpp
@@ -11,39 +11,4 @@ Expected<void> TargetMCInstLowering::emitTerminalInstruction(const MachineInstr
"target does not support this terminal emission instruction");
}
-Expected<void> TargetMCInstLowering::emitFileHeader(MachineMCContext &, mc::MCStreamer &) const {
- return {};
-}
-
-Expected<void> TargetMCInstLowering::emitFileTrailer(MachineMCContext &, mc::MCStreamer &) const {
- return {};
-}
-
-Expected<void> TargetMCInstLowering::emitGenericConstant(const GenericConstantData &, std::uint64_t,
- MachineMCContext &,
- mc::MCStreamer &) const {
- return makeUnexpected(ErrorCode::Unsupported,
- "target does not support assembly emission for generic constants");
-}
-
-Expected<void> TargetMCInstLowering::emitGlobalInitializer(const GlobalInitializer &,
- MachineMCContext &,
- mc::MCStreamer &) const {
- return makeUnexpected(ErrorCode::Unsupported,
- "target does not support assembly emission for global initializers");
-}
-
-Expected<void> TargetMCInstLowering::emitTargetConstant(const TargetConstant &, MachineMCContext &,
- mc::MCStreamer &) const {
- return makeUnexpected(ErrorCode::Unsupported,
- "target does not support assembly emission for this target constant");
-}
-
-Expected<void> TargetMCInstLowering::emitTargetJumpTable(const MachineFunction &,
- const MachineJumpTableEntry &,
- MachineMCContext &,
- mc::MCStreamer &) const {
- return makeUnexpected(ErrorCode::Unsupported, "target does not support this jump-table encoding");
-}
-
} // namespace rcc