Hello,

This small patch fixes two things:

First it adds support to compare a managed pointer to other reference types:

        object o = null;
        if (null == o) {
                // ...
        }

didn't pass the AOT. However turning around the condition did compile, e.g.

        object o = null;
        if (o == null) {
                // ...
        }

didn't give me any headaches. The second part of the patch improves the
exceptions 
in the file to report more information to immediately figure out failure
points.

grover

P.S.: After applying this patch and doing some workarounds for exceptions I
was 
finally able to AOT my (alpha) VFS and will start testing and write a Wiki
page 
for it.

Attachment: ir.patch
Description: Binary data

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
SharpOS-Developers mailing list
SharpOS-Developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sharpos-developers

Reply via email to