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.cpp14
1 files changed, 14 insertions, 0 deletions
diff --git a/backend/lib/AsmPrinter/TargetMCInstLowering.cpp b/backend/lib/AsmPrinter/TargetMCInstLowering.cpp
new file mode 100644
index 0000000..898ca2e
--- /dev/null
+++ b/backend/lib/AsmPrinter/TargetMCInstLowering.cpp
@@ -0,0 +1,14 @@
+// SPDX-License-Identifier: GPL-3.0-or-later
+
+#include "rcc/CodeGen/TargetMCInstLowering.h"
+
+namespace rcc {
+
+Expected<void> TargetMCInstLowering::emitTerminalInstruction(const MachineInstr &,
+ MachineMCContext &,
+ mc::MCStreamer &) const {
+ return makeUnexpected(ErrorCode::Unsupported,
+ "target does not support this terminal emission instruction");
+}
+
+} // namespace rcc