]> code.delx.au - gnu-emacs/commitdiff
Stop worrying about Alliant in bytecode.c
authorPaul Eggert <eggert@cs.ucla.edu>
Fri, 15 Jul 2016 20:15:43 +0000 (22:15 +0200)
committerPaul Eggert <eggert@cs.ucla.edu>
Fri, 15 Jul 2016 20:31:41 +0000 (22:31 +0200)
* src/bytecode.c (PUSH): Remove workaround for long-obsolete compiler.

src/bytecode.c

index a551eca24471a7fe6c223c2b7165d2778a99203d..bb7922d54a49f3f3eb98aa0e0b21ecd0b6e30542 100644 (file)
@@ -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.  */