[m-rev.] diff: exploit the new capability of switch detection

Julien Fischer juliensf at cs.mu.OZ.AU
Mon Sep 19 18:53:32 AEST 2005


On Mon, 19 Sep 2005, Zoltan Somogyi wrote:

> The change to switch detection has now been installed on all our machines.
>
> Zoltan.
>
> compiler/dupelim.m:
> 	Factor out some common code using the new capability of switch
> 	detection.
>
That also requires the following:

Estimated hours taken: 0.1
Branches: main

compiler/dupelim.m:
	Fix an incomplete switch in dupelim.m.

Index: dupelim.m
===================================================================
RCS file: /home/mercury1/repository/mercury/compiler/dupelim.m,v
retrieving revision 1.70
diff -u -r1.70 dupelim.m
--- dupelim.m	19 Sep 2005 08:02:44 -0000	1.70
+++ dupelim.m	19 Sep 2005 08:51:32 -0000
@@ -747,6 +747,7 @@
         ; Instr1 = prune_ticket
         ; Instr1 = incr_sp(_, _)
         ; Instr1 = decr_sp(_)
+        ; Instr1 = decr_sp_and_return(_)
         ; Instr1 = pragma_c(_, _, _, _, _, _, _, _, _)
         ),
         ( Instr1 = Instr2 ->
--------------------------------------------------------------------------
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