Skip to content

Commit 52275eb

Browse files
committedMar 23, 2016
Merge branch 'stw' into codedb-ffi-io
2 parents 13d677b + 29f702e commit 52275eb

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)
Please sign in to comment.