diff options
Diffstat (limited to 'rts/StgStartup.cmm')
-rw-r--r-- | rts/StgStartup.cmm | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/rts/StgStartup.cmm b/rts/StgStartup.cmm index a650e5c367..0cd18628e2 100644 --- a/rts/StgStartup.cmm +++ b/rts/StgStartup.cmm @@ -127,6 +127,9 @@ stg_returnToSched /* no args: explicit stack layout */ // current thread. This is used for switching from compiled execution to the // interpreter, where calling threadPaused() on every switch would be too // expensive. +// +// See Note [avoiding threadPaused] in Interpreter.c +// stg_returnToSchedNotPaused /* no args: explicit stack layout */ { SAVE_THREAD_STATE(); |