diff options
author | Derek Schuff <dschuff@chromium.org> | 2016-06-14 15:46:30 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-06-14 15:46:30 -0700 |
commit | 6fdd9dd2137a563bc41a85cf45178cc734e499a2 (patch) | |
tree | a3aeb3cc570da5702e143602c22e0df775c5e4ff /test/dot_s/dyncall.c | |
parent | 8f524e8f926b6993878f02334e730fe5f65096f6 (diff) | |
download | binaryen-6fdd9dd2137a563bc41a85cf45178cc734e499a2.tar.gz binaryen-6fdd9dd2137a563bc41a85cf45178cc734e499a2.tar.bz2 binaryen-6fdd9dd2137a563bc41a85cf45178cc734e499a2.zip |
Do not create dyncall thunks for functions with i64 results or params (#586)
Dyncall thunks are meant to be used with emscripten on the web; however
on the web, functions with i64 results or params are not allowed to be
exported.
Diffstat (limited to 'test/dot_s/dyncall.c')
-rw-r--r-- | test/dot_s/dyncall.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/dot_s/dyncall.c b/test/dot_s/dyncall.c index 16c70b066..791c5d67a 100644 --- a/test/dot_s/dyncall.c +++ b/test/dot_s/dyncall.c @@ -5,7 +5,7 @@ uint32_t i() { return 0; } -uint64_t jf(float f) { +uint32_t i_f(float f) { return 0; } void vd(double d) { @@ -22,7 +22,7 @@ void vd2(double d) { int main() { asm(" i32.const $drop=, i@FUNCTION"); - asm(" i32.const $drop=, jf@FUNCTION"); + asm(" i32.const $drop=, i_f@FUNCTION"); asm(" i32.const $drop=, vd@FUNCTION"); asm(" i32.const $drop=, ffjjdi@FUNCTION"); asm(" i32.const $drop=, vd2@FUNCTION"); |