summaryrefslogtreecommitdiff
path: root/src/wasm-binary.h
diff options
context:
space:
mode:
authorThomas Lively <7121787+tlively@users.noreply.github.com>2020-12-15 00:12:42 -0500
committerGitHub <noreply@github.com>2020-12-14 21:12:42 -0800
commiteff70e05b38e4e86ccbae169dbd400711f2fd561 (patch)
tree75216172ec8be03b9c75c89886692d5dcdca2936 /src/wasm-binary.h
parentb4928af5e70c85d309f7a074ed80bbcd1ee414f9 (diff)
downloadbinaryen-eff70e05b38e4e86ccbae169dbd400711f2fd561.tar.gz
binaryen-eff70e05b38e4e86ccbae169dbd400711f2fd561.tar.bz2
binaryen-eff70e05b38e4e86ccbae169dbd400711f2fd561.zip
Use enums for mutability and nullability (#3443)
Previously we were using bools for both of these concepts, but using enums makes the code clearer. In particular, the PR removes many instances of `/*nullability=*/ true`.
Diffstat (limited to 'src/wasm-binary.h')
-rw-r--r--src/wasm-binary.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/wasm-binary.h b/src/wasm-binary.h
index 1d250aa2b..382bfbd4f 100644
--- a/src/wasm-binary.h
+++ b/src/wasm-binary.h
@@ -1276,6 +1276,7 @@ public:
Type getType(int initial);
HeapType getHeapType();
+ Mutability getMutability();
Field getField();
Type getConcreteType();
Name getInlineString();