summaryrefslogtreecommitdiff
path: root/src/wasm.h
diff options
context:
space:
mode:
authorSam Clegg <sbc@chromium.org>2024-05-15 08:47:24 -0700
committerGitHub <noreply@github.com>2024-05-15 08:47:24 -0700
commit940f4570cb13db7f7b381cbe35ba546708ed7556 (patch)
tree7081e06dee7fbd39a18688c9580e24d150104da2 /src/wasm.h
parent140386ed24ece9f30b2ad7dc55f63716f7a61f5e (diff)
downloadbinaryen-940f4570cb13db7f7b381cbe35ba546708ed7556.tar.gz
binaryen-940f4570cb13db7f7b381cbe35ba546708ed7556.tar.bz2
binaryen-940f4570cb13db7f7b381cbe35ba546708ed7556.zip
Remove redundant ptrType from MemorySize/Grow instructions. NFC (#6590)
I recently add TableSize/Grow and noticed I didn't need these. It seems they are superfluous.
Diffstat (limited to 'src/wasm.h')
-rw-r--r--src/wasm.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/wasm.h b/src/wasm.h
index dd7164499..29240723f 100644
--- a/src/wasm.h
+++ b/src/wasm.h
@@ -1305,10 +1305,8 @@ public:
MemorySize() { type = Type::i32; }
MemorySize(MixedArena& allocator) : MemorySize() {}
- Type ptrType = Type::i32;
Name memory;
- void make64();
void finalize();
};
@@ -1318,10 +1316,8 @@ public:
MemoryGrow(MixedArena& allocator) : MemoryGrow() {}
Expression* delta = nullptr;
- Type ptrType = Type::i32;
Name memory;
- void make64();
void finalize();
};