diff options
author | Alon Zakai <alonzakai@gmail.com> | 2016-05-06 18:28:41 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2016-05-06 18:28:41 -0700 |
commit | 254601c78a03b2012d42f15d64c51b773a8fbe4c (patch) | |
tree | c9dfdc133fdd77b5a62d2e9bab8f32c07c0ae5ab /src/wasm.h | |
parent | a3b3a516bd8117cd83aa0625839e614110d1fc0b (diff) | |
parent | a2cfae4c54ba79d7e8b348da10c77840ca934595 (diff) | |
download | binaryen-254601c78a03b2012d42f15d64c51b773a8fbe4c.tar.gz binaryen-254601c78a03b2012d42f15d64c51b773a8fbe4c.tar.bz2 binaryen-254601c78a03b2012d42f15d64c51b773a8fbe4c.zip |
Merge pull request #449 from WebAssembly/fuzz-relooper
Fuzz the relooper through the c api
Diffstat (limited to 'src/wasm.h')
-rw-r--r-- | src/wasm.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/wasm.h b/src/wasm.h index dff0bcd5a..049dc2e30 100644 --- a/src/wasm.h +++ b/src/wasm.h @@ -1022,6 +1022,10 @@ public: ExpressionList operands; FunctionType *fullType; Expression *target; + + void finalize() { + type = fullType->result; + } }; class GetLocal : public SpecificExpression<Expression::GetLocalId> { |