Skip to content

Commit

Permalink
Interpreter: Disable exception verification in non-debug modes
Browse files Browse the repository at this point in the history
  • Loading branch information
subbuss committed Jan 24, 2015
1 parent bbb7bbe commit 0aef21d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion core/src/main/java/org/jruby/ir/interpreter/Interpreter.java
Original file line number Diff line number Diff line change
Expand Up @@ -574,7 +574,9 @@ private static IRubyObject interpret(ThreadContext context, IRubyObject self,
break;
}
} catch (Throwable t) {
extractToMethodToAvoidC2Crash(context, instr, t);
if (debug) {
extractToMethodToAvoidC2Crash(context, instr, t);
}

ipc = instr.getRPC();
if (debug) {
Expand Down

0 comments on commit 0aef21d

Please sign in to comment.