[Mono-bugs] [Bug 73077][Maj] Changed - Increment and Decrement operators doesn't works

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Tue, 1 Mar 2005 09:54:59 -0500 (EST)

Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by rogerio.araujo@gmail.com.


--- shadow/73077	2005-03-01 00:56:31.000000000 -0500
+++ shadow/73077.tmp.9868	2005-03-01 09:54:59.000000000 -0500
@@ -58,6 +58,18 @@
 the same because we generate the PostOrPrefix::.ctor at the place
 where needed and they do it before everything. Using the Rotor runtime
 the code generated by mjs evaluates to the same than jsc+MS runtime.
 I suspect you're getting confused by the compiler code and the runtime
 support code. Do you understand there's a difference between them?
+------- Additional Comments From rogerio.araujo@gmail.com  2005-03-01 09:54 -------
+I checked the IL code generated by mjs and the IL code generated by
+jsc and you is right about the code differences.
+AFAIK, i only worked in EvaluatePostOrPrefix method, and this method
+belongs to runtime support code, now i have to check the compiler code
+and do the proper changes to create all PostOrPrefixOperators
+instances before everyting, because at this moment these instances are
+being created before your use and not after their variable declaration.