summaryrefslogtreecommitdiff
path: root/cc_runtime.h
diff options
context:
space:
mode:
Diffstat (limited to 'cc_runtime.h')
-rw-r--r--cc_runtime.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/cc_runtime.h b/cc_runtime.h
index bb0e07a58c..110b106d7d 100644
--- a/cc_runtime.h
+++ b/cc_runtime.h
@@ -52,7 +52,7 @@
case 2: JMPENV_POP; JMPENV_JUMP(2); \
case 3: \
JMPENV_POP; \
- if (PL_restartop != nxt) \
+ if (PL_restartop && PL_restartop != nxt) \
JMPENV_JUMP(3); \
} \
PL_op = nxt; \