Re: [Ironruby-core] Interpreter, backtrace, and call site caching

2008-12-31 Thread Shri Borde
: ironruby-core-boun...@rubyforge.org [mailto:ironruby-core-boun...@rubyforge.org] On Behalf Of Shri Borde Sent: Tuesday, December 30, 2008 2:28 PM To: ironruby-core@rubyforge.org Subject: [Ironruby-core] Interpreter, backtrace, and call site caching For backtraces to work correctly in interpreter

[Ironruby-core] Interpreter, backtrace, and call site caching

2008-12-30 Thread Shri Borde
For backtraces to work correctly in interpreter mode, it is required that the interpreter guard every call to C# code with a try-catch, so that the catch block has a chance to stash away the backtrace if an exception is thrown. This is done in Interpreter.InvokeMethod, and the catch block gives