[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] /srv/bzr/emacs/trunk r110186: * src/bytecode.c (exec_byte_
From: |
Stefan Monnier |
Subject: |
[Emacs-diffs] /srv/bzr/emacs/trunk r110186: * src/bytecode.c (exec_byte_code): Signal an error instead of aborting, |
Date: |
Mon, 24 Sep 2012 18:47:51 -0400 |
User-agent: |
Bazaar (2.5.0) |
------------------------------------------------------------
revno: 110186
committer: Stefan Monnier <address@hidden>
branch nick: trunk
timestamp: Mon 2012-09-24 18:47:51 -0400
message:
* src/bytecode.c (exec_byte_code): Signal an error instead of aborting,
when encountering an unknown bytecode.
modified:
src/ChangeLog
src/bytecode.c
=== modified file 'src/ChangeLog'
--- a/src/ChangeLog 2012-09-24 21:38:23 +0000
+++ b/src/ChangeLog 2012-09-24 22:47:51 +0000
@@ -1,3 +1,8 @@
+2012-09-24 Stefan Monnier <address@hidden>
+
+ * bytecode.c (exec_byte_code): Signal an error instead of aborting,
+ when encountering an unknown bytecode.
+
2012-09-24 Paul Eggert <address@hidden>
image.c, indent.c: Use bool for booleans.
=== modified file 'src/bytecode.c'
--- a/src/bytecode.c 2012-09-16 21:43:55 +0000
+++ b/src/bytecode.c 2012-09-24 22:47:51 +0000
@@ -1876,7 +1876,7 @@
/* 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):
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] /srv/bzr/emacs/trunk r110186: * src/bytecode.c (exec_byte_code): Signal an error instead of aborting,,
Stefan Monnier <=