[Mono-bugs] [Bug 57869][Wis] New - Compiler should emit il code, not calls, for IntPtr operations
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Thu, 29 Apr 2004 21:05:23 -0400 (EDT)
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 bmaurer@users.sf.net.
http://bugzilla.ximian.com/show_bug.cgi?id=57869
--- shadow/57869 2004-04-29 21:05:22.000000000 -0400
+++ shadow/57869.tmp.1680 2004-04-29 21:05:23.000000000 -0400
@@ -0,0 +1,24 @@
+Bug#: 57869
+Product: Mono: Compilers
+Version: unspecified
+OS:
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Wishlist
+Component: C#
+AssignedTo: bmaurer@users.sf.net
+ReportedBy: bmaurer@users.sf.net
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: Compiler should emit il code, not calls, for IntPtr operations
+
+<miguel> Ben, I think we need to have the JIT inline calls to op_Equality
+in IntPtr
+<BenM> miguel: yeah
+<BenM> miguel: actually, we can do it at the IL level
+<BenM> since IntPtr is jsut a native int
+<BenM> you can use ceq/beq/brtrue/brfalse on it