diff options
author | Derek Schuff <dschuff@chromium.org> | 2016-04-12 09:19:59 -0700 |
---|---|---|
committer | Derek Schuff <dschuff@chromium.org> | 2016-04-12 09:19:59 -0700 |
commit | 6302b75a023154bad7e11551e27d54bc35b415da (patch) | |
tree | a2d683e3b358173b31d2f879392b9fe6a42c739e /src/asm_v_wasm.h | |
parent | 73c606a04d01dc7018d028eed3216a507ab03ee9 (diff) | |
download | binaryen-6302b75a023154bad7e11551e27d54bc35b415da.tar.gz binaryen-6302b75a023154bad7e11551e27d54bc35b415da.tar.bz2 binaryen-6302b75a023154bad7e11551e27d54bc35b415da.zip |
Add a method to generate a dyncall thunk (#337)
Currently it's not called anywhere.
The bulk of this change is refactoring to add makeFunction, makeCallIndirect, and makeReturn
to wasm::Builder, and make S2wasmBuilder call it
Diffstat (limited to 'src/asm_v_wasm.h')
-rw-r--r-- | src/asm_v_wasm.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/asm_v_wasm.h b/src/asm_v_wasm.h index 29344e9bb..6a279a2a7 100644 --- a/src/asm_v_wasm.h +++ b/src/asm_v_wasm.h @@ -82,7 +82,7 @@ std::string getSig(CallBase *call) { return ret; } -std::string getSig(WasmType result, ExpressionList& operands) { +std::string getSig(WasmType result, const ExpressionList& operands) { std::string ret; ret += getSig(result); for (auto operand : operands) { |