aboutsummaryrefslogtreecommitdiff
path: root/backend/unittests/Target/RISCVMCTest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'backend/unittests/Target/RISCVMCTest.cpp')
-rw-r--r--backend/unittests/Target/RISCVMCTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/unittests/Target/RISCVMCTest.cpp b/backend/unittests/Target/RISCVMCTest.cpp
index d77899a..f43c574 100644
--- a/backend/unittests/Target/RISCVMCTest.cpp
+++ b/backend/unittests/Target/RISCVMCTest.cpp
@@ -260,7 +260,7 @@ symbolExpression(rcc::mc::MCContext &Context, std::string_view Name, std::uint32
[[nodiscard]] bool testObjectEmission(const rcc::TargetDescription &Target) {
auto Alignment = rcc::Alignment::create(8);
- auto Value = rcc::IntegerImmediate::fromUnsigned(64, 0x1122334455667788ULL);
+ auto Value = rcc::APInt::fromUnsigned(64, 0x1122334455667788ULL);
if (!Alignment || !Value)
return false;
rcc::GlobalObjectDesc Global;