aboutsummaryrefslogtreecommitdiff
path: root/backend/unittests/Target/RISCVAssemblyPrinterTest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'backend/unittests/Target/RISCVAssemblyPrinterTest.cpp')
-rw-r--r--backend/unittests/Target/RISCVAssemblyPrinterTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/unittests/Target/RISCVAssemblyPrinterTest.cpp b/backend/unittests/Target/RISCVAssemblyPrinterTest.cpp
index e40ce8a..3794227 100644
--- a/backend/unittests/Target/RISCVAssemblyPrinterTest.cpp
+++ b/backend/unittests/Target/RISCVAssemblyPrinterTest.cpp
@@ -45,7 +45,7 @@ makeObject(std::string Symbol, std::uint64_t Size, std::uint64_t Alignment,
}
[[nodiscard]] rcc::Expected<void> addObjects(rcc::CompilationUnit &Unit) {
- auto AnswerValue = rcc::IntegerImmediate::fromUnsigned(32, 42);
+ auto AnswerValue = rcc::APInt::fromUnsigned(32, 42);
if (!AnswerValue)
return std::unexpected(AnswerValue.error());
auto Answer =