[Bug 17715] Incorrect translation of D3D asm instruction "expp"

wine-bugs at winehq.org wine-bugs at winehq.org
Sun Mar 22 18:43:09 CDT 2009


http://bugs.winehq.org/show_bug.cgi?id=17715





--- Comment #26 from Tobias Jakobi <liquid.acid at gmx.net>  2009-03-22 18:43:09 ---
Could you elaborate on that?

How are plain variables and non-array types different from pointers and arrays?
I have started with C++ myself and therefore I always try to constify most of
my variables, of course when it makes sense to do so.

AFAIK constifying also gives the compiler more hints where to optimize code.
Plus it helps against programming errors ("=" against "=="). Of course the
programming errors argument doesn't really apply here because the function is
very small.


-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list