Use push and pop for iOS math function thunks
Created attachment 199770 [details] Patch
Comment on attachment 199770 [details] Patch Did you test that calling printf() or similar from jsRound() for example, and then calling Math.round(), works without crashing?
(In reply to comment #2) > (From update of attachment 199770 [details]) > Did you test that calling printf() or similar from jsRound() for example, and then calling Math.round(), works without crashing? I'll try that on Monday. I am pretty sure of the alignment on 4 bytes because I already accidentally ran into that when I wrote TransformationMatrix's optimizations. I assumed the stack would be at least aligned to 8 bytes when writing the VFP code, and that happily crashed in the tests.
Comment on attachment 199770 [details] Patch Would be good to do that test before landing. Otherwise, r=me.
(In reply to comment #4) > (From update of attachment 199770 [details]) > Would be good to do that test before landing. Otherwise, r=me. I just tried on an Apple A5, no problem with printf called from jsRound.
Comment on attachment 199770 [details] Patch Clearing flags on attachment: 199770 Committed r149331: <http://trac.webkit.org/changeset/149331>
All reviewed patches have been landed. Closing bug.