[m-rev.] diff: .NET backend: fix dummy_var bug

Fergus Henderson fjh at cs.mu.OZ.AU
Sat Aug 11 19:26:05 AEST 2001


Estimated hours taken: 0.25
Branches: main

library/private_builtin.m:
	Fix a bug in the MC++ code: make `dummy_var' a static variable,
	not an instance variable.

Index: private_builtin.m
===================================================================
RCS file: /home/mercury1/repository/mercury/library/private_builtin.m,v
retrieving revision 1.79
diff -u -d -r1.79 private_builtin.m
--- private_builtin.m	31 Jul 2001 10:07:59 -0000	1.79
+++ private_builtin.m	11 Aug 2001 09:19:37 -0000
@@ -122,7 +122,7 @@
 // will be used by the code generator as an lval, so we use
 // private_builtin:dummy_var as that lval.
 
-MR_Word dummy_var;
+static MR_Word dummy_var;
 
 ").
 

-- 
Fergus Henderson <fjh at cs.mu.oz.au>  |  "I have always known that the pursuit
The University of Melbourne         |  of excellence is a lethal habit"
WWW: <http://www.cs.mu.oz.au/~fjh>  |     -- the last words of T. S. Garp.
--------------------------------------------------------------------------
mercury-reviews mailing list
post:  mercury-reviews at cs.mu.oz.au
administrative address: owner-mercury-reviews at cs.mu.oz.au
unsubscribe: Address: mercury-reviews-request at cs.mu.oz.au Message: unsubscribe
subscribe:   Address: mercury-reviews-request at cs.mu.oz.au Message: subscribe
--------------------------------------------------------------------------



More information about the reviews mailing list