projects
/
mono.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
6f20e30
)
[wasm] Add new missing signature.
author
Rodrigo Kumpera
<kumpera@gmail.com>
Fri, 29 Sep 2017 22:45:00 +0000
(15:45 -0700)
committer
Rodrigo Kumpera
<kumpera@gmail.com>
Fri, 29 Sep 2017 22:45:00 +0000
(15:45 -0700)
mono/mini/aot-runtime-wasm.c
patch
|
blob
|
history
diff --git
a/mono/mini/aot-runtime-wasm.c
b/mono/mini/aot-runtime-wasm.c
index d3b286cd0457418313aaee3dfb651e008074de6c..b5328ffc99dd3a24edc960b3a752e9a60e78c56d 100644
(file)
--- a/
mono/mini/aot-runtime-wasm.c
+++ b/
mono/mini/aot-runtime-wasm.c
@@
-196,6
+196,15
@@
wasm_invoke_iiiiii (void *target_func, InterpMethodArguments *margs)
*(int*)margs->retval = res;
}
*(int*)margs->retval = res;
}
+static void
+wasm_invoke_iiiiiiiii (void *target_func, InterpMethodArguments *margs)
+{
+ int (*func)(gpointer a, gpointer b, gpointer c, gpointer d, gpointer e, gpointer f, gpointer g, gpointer h) = target_func;
+ int res = func (margs->iargs [0], margs->iargs [1], margs->iargs [2], margs->iargs [3], margs->iargs [4], margs->iargs [5], margs->iargs [6], margs->iargs [7]);
+ *(int*)margs->retval = res;
+}
+
+
typedef union {
gint64 l;
struct {
typedef union {
gint64 l;
struct {
@@
-363,6
+372,8
@@
wasm_enter_icall_trampoline (void *target_func, InterpMethodArguments *margs)
wasm_invoke_iiiii (target_func, margs);
else if (!strcmp ("IIIIII", cookie))
wasm_invoke_iiiiii (target_func, margs);
wasm_invoke_iiiii (target_func, margs);
else if (!strcmp ("IIIIII", cookie))
wasm_invoke_iiiiii (target_func, margs);
+ else if (!strcmp ("IIIIIIIII", cookie))
+ wasm_invoke_iiiiiiiii (target_func, margs);
else if (!strcmp ("L", cookie))
wasm_invoke_l (target_func, margs);
else if (!strcmp ("LL", cookie))
else if (!strcmp ("L", cookie))
wasm_invoke_l (target_func, margs);
else if (!strcmp ("LL", cookie))