]> git.eshelyaron.com Git - emacs.git/commitdiff
* src/bytecode.c (exec_byte_code): Signal an error instead of aborting,
authorStefan Monnier <monnier@iro.umontreal.ca>
Mon, 24 Sep 2012 22:47:51 +0000 (18:47 -0400)
committerStefan Monnier <monnier@iro.umontreal.ca>
Mon, 24 Sep 2012 22:47:51 +0000 (18:47 -0400)
when encountering an unknown bytecode.

src/ChangeLog
src/bytecode.c

index 500411da531bd4539ae28240f5feaac9fba79e57..f90445045aec21be0ea82454e422e974c043d928 100644 (file)
@@ -1,3 +1,8 @@
+2012-09-24  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * bytecode.c (exec_byte_code): Signal an error instead of aborting,
+       when encountering an unknown bytecode.
+
 2012-09-24  Paul Eggert  <eggert@cs.ucla.edu>
 
        image.c, indent.c: Use bool for booleans.
index 5f4fdcc5effa7ca2062e13bfd4352fd3696227cc..648813aed86103e6f5fa7a8d0c81c95e6af6240f 100644 (file)
@@ -1876,7 +1876,7 @@ exec_byte_code (Lisp_Object bytestr, Lisp_Object vector, Lisp_Object maxdepth,
          /* Actually this is Bstack_ref with offset 0, but we use Bdup
             for that instead.  */
          /* CASE (Bstack_ref): */
-         emacs_abort ();
+         error ("Invalid byte opcode");
 
          /* Handy byte-codes for lexical binding.  */
        CASE (Bstack_ref1):