From 7ef9e82f51de73e89759910fd1b45ce5ccc363b3 Mon Sep 17 00:00:00 2001 From: Roy Frostig Date: Sun, 25 Jul 2010 21:27:28 -0700 Subject: Don't write to NULL after calling C natives returning void. --- src/boot/be/abi.ml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/boot/be/abi.ml') diff --git a/src/boot/be/abi.ml b/src/boot/be/abi.ml index 8084c7cf..975ff032 100644 --- a/src/boot/be/abi.ml +++ b/src/boot/be/abi.ml @@ -149,7 +149,7 @@ type abi = -> unit); abi_emit_native_call_in_thunk: (Il.emitter - -> Il.cell (* ret *) + -> Il.cell option (* ret *) -> Common.nabi -> Il.operand (* callee *) -> Il.operand array (* args *) -- cgit v1.2.3