On Jul 17, 2007, at 7:59 AM, Dan Gohman wrote:

>> Use push / pop for prologues and epilogues.
>
> Cool!
>
>> +  if (NumBytes) {    // adjust stack pointer back: ESP += numbytes
>
> It looks like this doesn't reset ESP/RSP in the case where a  
> function calls
> alloca but has no static-sized allocation, i.e. when NumBytes is zero
> and MFI->hasVarSizedObjects() is true.

Right. Fixed. Somehow it didn't break anything on x86 / Mac OS X. Do  
you have a failure case? If so, please reduce it and send it  to me  
if possible?

Thanks,

Evan

>
> Dan
>
> -- 
> Dan Gohman, Cray Inc.
> _______________________________________________
> llvm-commits mailing list
> [email protected]
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

_______________________________________________
llvm-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

Reply via email to