diff options
| author | Richard-Qin-X <richard.qin.001@gmail.com> | 2026-08-28 14:25:42 +0800 |
|---|---|---|
| committer | Richard-Qin-X <richard.qin.001@gmail.com> | 2026-08-28 14:25:42 +0800 |
| commit | 6889b82a5c9ecc6bd178760c66653d7af0121162 (patch) | |
| tree | d0465db788912487c36bd676656f416eaa8b1642 /backend/lib/AsmPrinter/TargetMCInstLowering.cpp | |
| parent | 6e8feb15a0d256ca19e88185f78c81f689ce7d34 (diff) | |
| download | rcc-project-6889b82a5c9ecc6bd178760c66653d7af0121162.tar.gz rcc-project-6889b82a5c9ecc6bd178760c66653d7af0121162.tar.xz | |
[CodeGen] Separate assembly emission ownership
Diffstat (limited to 'backend/lib/AsmPrinter/TargetMCInstLowering.cpp')
| -rw-r--r-- | backend/lib/AsmPrinter/TargetMCInstLowering.cpp | 35 |
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 |
