+2014-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
+
+ * bytecode.c (FETCH) [BYTE_CODE_SAFE]: Check the bytecode wasn't
+ relocated from under us.
+
2014-05-27 Fabrice Popineau <fabrice.popineau@gmail.com>
* Makefile.in (C_HEAP_SWITCH): Get the predefined heap size from
\f
/* 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. */