aboutsummaryrefslogtreecommitdiff
path: root/backend/unittests/CodeGen/MachineConstantPoolTest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'backend/unittests/CodeGen/MachineConstantPoolTest.cpp')
-rw-r--r--backend/unittests/CodeGen/MachineConstantPoolTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/unittests/CodeGen/MachineConstantPoolTest.cpp b/backend/unittests/CodeGen/MachineConstantPoolTest.cpp
index 08b69e2..39323d5 100644
--- a/backend/unittests/CodeGen/MachineConstantPoolTest.cpp
+++ b/backend/unittests/CodeGen/MachineConstantPoolTest.cpp
@@ -128,7 +128,7 @@ struct PoolTargetConstant final {
[[nodiscard]] rcc::MachineConstantPoolEntryDesc
genericDescription(rcc::ConstantPoolMergeKind Merge) {
rcc::MachineConstantPoolEntryDesc Description;
- auto Integer = rcc::IntegerImmediate::fromUnsigned(32, 0x04030201U);
+ auto Integer = rcc::APInt::fromUnsigned(32, 0x04030201U);
Description.Value = std::move(*rcc::GenericConstantData::integer(std::move(*Integer)));
Description.Size = 4;
Description.Align = *rcc::Alignment::create(4);