------- Comment #10 from green at redhat dot com 2005-11-07 14:47 ------- This patch seems overly complicated to me. I don't think we need the trampoline function and the ffi_call. Since we're just planning on throwing an exception, it seems like you should just be able to pass the class name in as a closure argument (cast as a ffi_cif?) and throw the exception directly, dispensing entirely with the ffi_cif and all the other interpreter->native call support.
Let me know if I'm not describing this clearly. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24616