From eff70e05b38e4e86ccbae169dbd400711f2fd561 Mon Sep 17 00:00:00 2001 From: Thomas Lively <7121787+tlively@users.noreply.github.com> Date: Tue, 15 Dec 2020 00:12:42 -0500 Subject: 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`. --- src/wasm-binary.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/wasm-binary.h') 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(); -- cgit v1.2.3