diff options
author | Thomas Lively <7121787+tlively@users.noreply.github.com> | 2020-01-07 11:16:44 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-07 11:16:44 -0800 |
commit | e8f9d207427bda2f6e22c28ff0210b294b1f70e1 (patch) | |
tree | 503b20fb06274e38af7e25e3a1a4106827c52693 /src/ir/memory-utils.h | |
parent | f73b40c7873dbd2dd46a962f3afe5b97a7fc8b0a (diff) | |
download | binaryen-e8f9d207427bda2f6e22c28ff0210b294b1f70e1.tar.gz binaryen-e8f9d207427bda2f6e22c28ff0210b294b1f70e1.tar.bz2 binaryen-e8f9d207427bda2f6e22c28ff0210b294b1f70e1.zip |
[NFC] Enforce use of `Type::` on type names (#2434)
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++) { |