trivial diff: undo removal of modframe

Simon Taylor stayl at cs.mu.OZ.AU
Sun Aug 2 16:37:42 AEST 1998


Estimated hours taken: 0.1

runtime/mercury_stacks.h:
	Undo the removal of the modframe macro - the installed compiler
	still generates it.


Index: mercury_stacks.h
===================================================================
RCS file: /home/staff/zs/imp/mercury/runtime/mercury_stacks.h,v
retrieving revision 1.8
diff -u -t -u -r1.8 mercury_stacks.h
--- mercury_stacks.h	1998/07/29 08:56:05	1.8
+++ mercury_stacks.h	1998/08/02 06:35:58
@@ -210,6 +210,14 @@
                                 nondstack_overflow_check();             \
                         } while (0)
 
+/*
+** This should be removed soon - the latest compiler does not generate it.
+*/
+#define modframe(redoip)                                                \
+                        do {                                            \
+                                curredoip = redoip;                     \
+                        } while (0)
+
 #define succeed()       do {                                            \
                                 reg     Word    *childfr;               \
                                                                         \



More information about the developers mailing list