Skip to content

Commit

Permalink
Missing thread poll in body interp
Browse files Browse the repository at this point in the history
  • Loading branch information
enebo committed Feb 10, 2015
1 parent 260e182 commit eadb23f
Showing 1 changed file with 4 additions and 0 deletions.
Expand Up @@ -205,6 +205,10 @@ public IRubyObject interpret(ThreadContext context, IRubyObject self, Interprete
}
break;
}
case THREAD_POLL:
if (IRRuntimeHelpers.inProfileMode()) Profiler.clockTick();
context.callThreadPoll();
break;
default:
if (instr.getOperation().opClass == OpClass.BRANCH_OP) {
ipc = instr.interpretAndGetNewIPC(context, currDynScope, currScope, self, temp, ipc);
Expand Down

0 comments on commit eadb23f

Please sign in to comment.