Skip to content

Instantly share code, notes, and snippets.

@libc
Created August 29, 2009 16:22
Show Gist options
  • Save libc/177558 to your computer and use it in GitHub Desktop.
Save libc/177558 to your computer and use it in GitHub Desktop.
VALUE kernel_spec_rb_rescue2(int argc, VALUE *args, VALUE self) {
VALUE main_array = rb_ary_new();
rb_ary_push(main_array, args[0]);
rb_ary_push(main_array, args[1]);
VALUE raise_array = rb_ary_new();
rb_ary_push(raise_array, args[2]);
rb_ary_push(raise_array, args[3]);
return rb_rescue2(kernel_spec_call_proc, main_array, kernel_spec_call_proc, raise_array, args[4], args[5], 0);
}
movq -32(%rbp), %rax # args, D.4176
addq $40, %rax #, D.4176
movq (%rax), %rdx #* D.4176, D.4177
movq -32(%rbp), %rax # args, D.4178
addq $32, %rax #, D.4178
movq (%rax), %rax #* D.4178, D.4179
movq -16(%rbp), %rcx # raise_array, raise_array
movq -8(%rbp), %rsi # main_array, main_array
movl $0, (%rsp) #, !!!!!!!!!
movq %rdx, %r9 # D.4177, D.4177
movq %rax, %r8 # D.4179, D.4179
leaq _kernel_spec_call_proc(%rip), %rdx #,
leaq _kernel_spec_call_proc(%rip), %rdi #,
movl $0, %eax #,
call _rb_rescue2 #
leave
ret
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment