X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=rts%2FInterpreter.c;h=4324f7f44a415a97cea44f331e8796653a257bec;hb=5892af0e08fdb890b5a0b9a64346d9f7773a6ed8;hp=d541dfc4094e8972e8a7de1c215fc07412eb98b7;hpb=a8c3a7ccaf3e1d820a7902a478948a55f5324f50;p=ghc-hetmet.git diff --git a/rts/Interpreter.c b/rts/Interpreter.c index d541dfc..4324f7f 100644 --- a/rts/Interpreter.c +++ b/rts/Interpreter.c @@ -1281,7 +1281,7 @@ run_BCO: // context switching: sometimes the scheduler can invoke // the interpreter with context_switch == 1, particularly // if the -C0 flag has been given on the cmd line. - if (context_switch) { + if (cap->context_switch) { Sp--; Sp[0] = (W_)&stg_enter_info; RETURN_TO_SCHEDULER(ThreadInterpret, ThreadYielding); }