diff options
author | Alon Zakai <alonzakai@gmail.com> | 2016-06-03 16:31:49 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2016-06-03 16:31:49 -0700 |
commit | b6668d8ca5b08bdf69f057ecdc6ad8a588429761 (patch) | |
tree | 95f138f1c4e1681ee9d747ac57189b2cd438c51f /src/wasm.h | |
parent | c8ec0cd6c053f9e68daf4ba4fdf8137957c1b236 (diff) | |
download | binaryen-b6668d8ca5b08bdf69f057ecdc6ad8a588429761.tar.gz binaryen-b6668d8ca5b08bdf69f057ecdc6ad8a588429761.tar.bz2 binaryen-b6668d8ca5b08bdf69f057ecdc6ad8a588429761.zip |
make call_indirect type a name, so that it is not a dependency on the module, which would break consistency and make some parallel passes tricky (#568)
Diffstat (limited to 'src/wasm.h')
-rw-r--r-- | src/wasm.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/wasm.h b/src/wasm.h index db8d2c608..3b318c6ee 100644 --- a/src/wasm.h +++ b/src/wasm.h @@ -1069,12 +1069,8 @@ public: CallIndirect(MixedArena& allocator) : operands(allocator) {} ExpressionList operands; - FunctionType *fullType; + Name fullType; Expression *target; - - void finalize() { - type = fullType->result; - } }; class GetLocal : public SpecificExpression<Expression::GetLocalId> { |