Version française
Home     About     Download     Resources     Contact us    
Browse thread
Re: Re: [Caml-list] compiler bug?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Dan Koppel <superluminal1905@y...>
Subject: Re: Re: [Caml-list] compiler bug?
Hi John,
  Thanks for your answer.  I'm running on a Power Mac.  Why does the compiler store on the stack when there's a function call but not otherwise.  I learned in basic compiler theory that when a function is called, you save all the registers before entering the function.  So why would the compiler not simply use the register for the variable, knowing that when the time comes to call the function, the register will be saved at that point in time.  That would seem a much better way to do things (thus avoiding the present problem).
   - Dan

		
---------------------------------
Yahoo! Messenger with Voice. Make PC-to-Phone Calls to the US (and 30+ countries) for 2¢/min or less.