Skip to content

Commit 29f702e

Browse files
committedMar 23, 2016
Fixed argument arity for LLVM call.
1 parent f51631d commit 29f702e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎machine/llvm/inline.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -934,7 +934,7 @@ namespace rubinius {
934934
check << "State";
935935

936936
Value* check_args[] = { ops_.state() };
937-
check.call("rbx_enter_unmanaged", check_args, 1, "unused", ops_.b());
937+
check.call("rbx_enter_unmanaged", check_args, 1, "enter_unmanaged", ops_.b());
938938

939939
Type* return_type = find_type(ops_, nf->ffi_data->ret_info.type);
940940

@@ -945,7 +945,7 @@ namespace rubinius {
945945

946946
Value* ffi_result = ops_.b().CreateCall(ep_ptr, ffi_args, "ffi_result");
947947

948-
check.call("rbx_exit_unmanaged", check_args, 2, "unused", ops_.b());
948+
check.call("rbx_exit_unmanaged", check_args, 1, "exit_unmanaged", ops_.b());
949949

950950
Value* res_args[] = { ops_.state(), ffi_result };
951951

0 commit comments

Comments
 (0)