Skip to content
Permalink
Browse files
Fix #2261 Mark threadpoll with 'can_raise_exceptions'
* Tom will look into possibly removing some thread polls
  on scope entry.

* In any case, this won't block opts as much I was thought
  it might.
  • Loading branch information
subbuss committed Jan 15, 2015
1 parent e8a8def commit d6e3f3025d2fe25ebde1241b185760d3dc206bb8
Showing with 1 addition and 1 deletion.
  1. +1 −1 core/src/main/java/org/jruby/ir/Operation.java
@@ -163,7 +163,7 @@ public enum Operation {
RESCUE_EQQ(OpFlags.f_can_raise_exception), // a === call used in rescue
RUNTIME_HELPER(OpFlags.f_has_side_effect | OpFlags.f_can_raise_exception),
SET_CAPTURED_VAR(OpFlags.f_can_raise_exception),
THREAD_POLL(OpFlags.f_is_book_keeping_op | OpFlags.f_has_side_effect),
THREAD_POLL(OpFlags.f_is_book_keeping_op | OpFlags.f_has_side_effect | OpFlags.f_can_raise_exception),
THROW(OpFlags.f_has_side_effect | OpFlags.f_can_raise_exception | OpFlags.f_is_exception),
// FIXME: TO_ARY is marked side-effecting since it can allocate new objects
// Clarify semantics of 'f_has_side_effect' better

0 comments on commit d6e3f30

Please sign in to comment.