[m-dev.] for review: use gcc's regparm attribute (was: fastcall for the x86)
Fergus Henderson
fjh at cs.mu.OZ.AU
Sun Nov 26 20:11:43 AEDT 2000
An addendum to my previous diff -- I'd missed one spot where MR_CALL
was needed.
--- exception.m.old Sun Nov 26 20:10:16 2000
+++ exception.m Sun Nov 26 20:09:34 2000
@@ -683,8 +683,8 @@
{
ML_ExceptionHandler this_handler;
- auto void success_cont(void);
- void success_cont(void) {
+ auto void MR_CALL success_cont(void);
+ void MR_CALL success_cont(void) {
/*
** If we reach here, it means that
** the nondet goal has succeeded, so we
@@ -734,7 +734,7 @@
void *cont_env;
};
-static void
+static void MR_CALL
ML_catch_success_cont(void *env_ptr) {
struct ML_catch_env *env = (struct ML_catch_env *) env_ptr;
--
Fergus Henderson <fjh at cs.mu.oz.au> | "I have always known that the pursuit
| of excellence is a lethal habit"
WWW: <http://www.cs.mu.oz.au/~fjh> | -- the last words of T. S. Garp.
--------------------------------------------------------------------------
mercury-developers mailing list
Post messages to: mercury-developers at cs.mu.oz.au
Administrative Queries: owner-mercury-developers at cs.mu.oz.au
Subscriptions: mercury-developers-request at cs.mu.oz.au
--------------------------------------------------------------------------
More information about the developers
mailing list