diff options
Diffstat (limited to 'backend/include/rcc/CodeGen/TargetRegisterAllocationInfo.h')
| -rw-r--r-- | backend/include/rcc/CodeGen/TargetRegisterAllocationInfo.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/backend/include/rcc/CodeGen/TargetRegisterAllocationInfo.h b/backend/include/rcc/CodeGen/TargetRegisterAllocationInfo.h index 6e25465..4448933 100644 --- a/backend/include/rcc/CodeGen/TargetRegisterAllocationInfo.h +++ b/backend/include/rcc/CodeGen/TargetRegisterAllocationInfo.h @@ -51,6 +51,11 @@ public: RegisterClassID) const noexcept { return 1; } + + [[nodiscard]] virtual bool isReservedForFunction(const MachineFunction &, PhysicalRegister, + const TargetDescription &) const noexcept { + return false; + } }; } // namespace rcc |
