]> git.lizzy.rs Git - rust.git/commitdiff
Build fix from jmuizelaar (on ocamlc versions that notice this bug; drat, not all do)
authorGraydon Hoare <graydon@mozilla.com>
Thu, 8 Jul 2010 15:25:12 +0000 (08:25 -0700)
committerGraydon Hoare <graydon@mozilla.com>
Thu, 8 Jul 2010 15:25:12 +0000 (08:25 -0700)
AUTHORS.txt
src/boot/me/alias.ml
src/boot/me/semant.ml
src/boot/me/trans.ml

index 9496c0b6b1eaa1526ad56061d998ceb179e080b9..95aeaf3b4b6a148c84dbed0b3c87de2e5ce54e19 100644 (file)
@@ -7,6 +7,7 @@ Other authors:
 Andreas Gal <gal@mozilla.com>
 Brendan Eich <brendan@mozilla.org>
 Dave Herman <dherman@mozilla.com>
+Jeff Mulzelaar <jmuizelaar@mozilla.com>
 Matt Brubeck <mbrubeck@limpet.net>
 Michael Bebenita <mbebenita@mozilla.com>
 Patrick Walton <pwalton@mozilla.com>
index 2c50733587172bcc2328d20eb9314110be225dee..d98316efc8c8b329b75063f1e233650c9ecb3616 100644 (file)
@@ -41,7 +41,7 @@ let alias_analysis_visitor
               begin
                 fun i slot ->
                   match slot.Ast.slot_mode with
-                      Ast.MODE_alias _ ->
+                      Ast.MODE_alias  ->
                         alias_atom args.(i)
                     | _ -> ()
               end
index 8d2ed8ac5ea51aac5260f10f61dc8b14fdd8c835..c67bb822268f0a7ef37ae091226595787d69e673 100644 (file)
@@ -1883,8 +1883,8 @@ and slot_referent_type (abi:Abi.abi) (sl:Ast.slot) : Il.referent_ty =
 
   let rty = referent_type abi (slot_ty sl) in
     match sl.Ast.slot_mode with
-      | Ast.MODE_local -> rty
-      | Ast.MODE_alias -> sp rty
+      | Ast.MODE_local -> rty
+      | Ast.MODE_alias -> sp rty
 ;;
 
 let task_rty (abi:Abi.abi) : Il.referent_ty =
index 6a14a1cec26511c537c260b67e88fdeb47590a0c..f77386a95b43fe19a974cfc79e2a57cbdfbb5dc7 100644 (file)
@@ -2859,7 +2859,7 @@ let trans_visitor
         Ast.MODE_local ->
           cell
 
-      | Ast.MODE_alias  ->
+      | Ast.MODE_alias  ->
           if initializing
           then cell
           else deref cell