diff options
author | Alon Zakai (kripken) <alonzakai@gmail.com> | 2017-05-02 14:36:56 -0700 |
---|---|---|
committer | Alon Zakai (kripken) <alonzakai@gmail.com> | 2017-05-02 14:36:56 -0700 |
commit | a8f493f24d41295b63c6834fe8efb4996370fee5 (patch) | |
tree | eacd81525ba79dcce02fadf9d336f0aea23e9bb6 /src/wasm.h | |
parent | d0df9588b9adb5c9000d008c8cb739dd3289e68d (diff) | |
download | binaryen-a8f493f24d41295b63c6834fe8efb4996370fee5.tar.gz binaryen-a8f493f24d41295b63c6834fe8efb4996370fee5.tar.bz2 binaryen-a8f493f24d41295b63c6834fe8efb4996370fee5.zip |
fix unreachable typing: for all nodes, if they are not reached - e.g., a binary with either side unreachable - then they are unreachable. this makes our usage of the unreachable type consistent
Diffstat (limited to 'src/wasm.h')
-rw-r--r-- | src/wasm.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/wasm.h b/src/wasm.h index 4804322b6..b23dab918 100644 --- a/src/wasm.h +++ b/src/wasm.h @@ -299,6 +299,8 @@ public: Name default_; Expression* condition; Expression* value; + + void finalize(); }; class Call : public SpecificExpression<Expression::CallId> { |