summaryrefslogtreecommitdiff
path: root/src/bytecode.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/bytecode.c')
-rw-r--r--src/bytecode.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/bytecode.c b/src/bytecode.c
index f489c74a144..ca6681f21e9 100644
--- a/src/bytecode.c
+++ b/src/bytecode.c
@@ -388,7 +388,11 @@ unmark_byte_stack (void)
/* Fetch the next byte from the bytecode stream. */
+#ifdef BYTE_CODE_SAFE
+#define FETCH (eassert (stack.byte_string_start == SDATA (stack.byte_string)), *stack.pc++)
+#else
#define FETCH *stack.pc++
+#endif
/* Fetch two bytes from the bytecode stream and make a 16-bit number
out of them. */