[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master 9569916 3/3: Stop worrying about Alliant in bytecod
From: |
Paul Eggert |
Subject: |
[Emacs-diffs] master 9569916 3/3: Stop worrying about Alliant in bytecode.c |
Date: |
Fri, 15 Jul 2016 20:31:52 +0000 (UTC) |
branch: master
commit 9569916d94c6c448862d02919e52fc3bfb9b9c8d
Author: Paul Eggert <address@hidden>
Commit: Paul Eggert <address@hidden>
Stop worrying about Alliant in bytecode.c
* src/bytecode.c (PUSH): Remove workaround for long-obsolete compiler.
---
src/bytecode.c | 8 +++-----
1 file changed, 3 insertions(+), 5 deletions(-)
diff --git a/src/bytecode.c b/src/bytecode.c
index a551eca..bb7922d 100644
--- a/src/bytecode.c
+++ b/src/bytecode.c
@@ -338,12 +338,10 @@ relocate_byte_stack (void)
#define FETCH2 (op = FETCH, op + (FETCH << 8))
-/* Push x onto the execution stack. This used to be #define PUSH(x)
- (*++stackp = (x)) This oddity is necessary because Alliant can't be
- bothered to compile the preincrement operator properly, as of 4/91.
- -JimB */
+/* Push X onto the execution stack. The expression X should not
+ contain TOP, to avoid competing side effects. */
-#define PUSH(x) (top++, *top = (x))
+#define PUSH(x) (*++top = (x))
/* Pop a value off the execution stack. */