Skip to content

Commit

Permalink
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions machine/llvm/inline.cpp
Original file line number Diff line number Diff line change
@@ -934,7 +934,7 @@ namespace rubinius {
check << "State";

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

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

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

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

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

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

0 comments on commit 29f702e

Please sign in to comment.