diff options
Diffstat (limited to 'src/ir/memory-utils.h')
-rw-r--r-- | src/ir/memory-utils.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ir/memory-utils.h b/src/ir/memory-utils.h index c6b2fad18..13b356ba8 100644 --- a/src/ir/memory-utils.h +++ b/src/ir/memory-utils.h @@ -174,7 +174,7 @@ inline bool ensureLimitedSegments(Module& module) { // create the segment and add in all the data auto* c = module.allocator.alloc<Const>(); c->value = Literal(int32_t(start)); - c->type = i32; + c->type = Type::i32; Memory::Segment combined(c); for (Index j = i; j < memory.segments.size(); j++) { |