diff options
Diffstat (limited to 'src/lj_profile.c')
-rw-r--r-- | src/lj_profile.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lj_profile.c b/src/lj_profile.c index 3223697f..e2966e0c 100644 --- a/src/lj_profile.c +++ b/src/lj_profile.c | |||
@@ -153,7 +153,7 @@ static void profile_trigger(ProfileState *ps) | |||
153 | profile_lock(ps); | 153 | profile_lock(ps); |
154 | ps->samples++; /* Always increment number of samples. */ | 154 | ps->samples++; /* Always increment number of samples. */ |
155 | mask = g->hookmask; | 155 | mask = g->hookmask; |
156 | if (!(mask & (HOOK_PROFILE|HOOK_VMEVENT))) { /* Set profile hook. */ | 156 | if (!(mask & (HOOK_PROFILE|HOOK_VMEVENT|HOOK_GC))) { /* Set profile hook. */ |
157 | int st = g->vmstate; | 157 | int st = g->vmstate; |
158 | ps->vmstate = st >= 0 ? 'N' : | 158 | ps->vmstate = st >= 0 ? 'N' : |
159 | st == ~LJ_VMST_INTERP ? 'I' : | 159 | st == ~LJ_VMST_INTERP ? 'I' : |