From e8f9d207427bda2f6e22c28ff0210b294b1f70e1 Mon Sep 17 00:00:00 2001 From: Thomas Lively <7121787+tlively@users.noreply.github.com> Date: Tue, 7 Jan 2020 11:16:44 -0800 Subject: [NFC] Enforce use of `Type::` on type names (#2434) --- src/ir/memory-utils.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ir/memory-utils.h') 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(); 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++) { -- cgit v1.2.3