aboutsummaryrefslogtreecommitdiff
path: root/backend/unittests
diff options
context:
space:
mode:
Diffstat (limited to 'backend/unittests')
-rw-r--r--backend/unittests/Target/RISCVFrameLoweringTest.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/backend/unittests/Target/RISCVFrameLoweringTest.cpp b/backend/unittests/Target/RISCVFrameLoweringTest.cpp
index 23f1b49..ec4bfa3 100644
--- a/backend/unittests/Target/RISCVFrameLoweringTest.cpp
+++ b/backend/unittests/Target/RISCVFrameLoweringTest.cpp
@@ -63,11 +63,11 @@ public:
bool SkipFrameIndexElimination = false) noexcept
: Delegate(&Delegate), SkipFrameIndexElimination(SkipFrameIndexElimination) {}
- [[nodiscard]] rcc::Expected<void>
- prepareFrame(rcc::MachineFunction &Function,
- const rcc::TargetDescription &Target) const override {
+ [[nodiscard]] rcc::Expected<void> prepareFrame(rcc::MachineFunction &Function,
+ const rcc::TargetDescription &Target,
+ rcc::FrameLoweringOptions Options) const override {
PrepareSawUnfrozen = !Function.frameInfo().isFrozen();
- return Delegate->prepareFrame(Function, Target);
+ return Delegate->prepareFrame(Function, Target, Options);
}
[[nodiscard]] rcc::Expected<void>