dotgnu-pnet-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Dotgnu-pnet-commits] CVS: pnet/cscc/csharp cs_invoke.tc,1.16,1.17


From: Rhys Weatherley <address@hidden>
Subject: [Dotgnu-pnet-commits] CVS: pnet/cscc/csharp cs_invoke.tc,1.16,1.17
Date: Thu, 14 Nov 2002 20:37:44 -0500

Update of /cvsroot/dotgnu-pnet/pnet/cscc/csharp
In directory subversions:/tmp/cvs-serv8950/cscc/csharp

Modified Files:
        cs_invoke.tc 
Log Message:


Use "callvirt" instead of "call" to call non-virtual instance methods,
so that runtime null pointer checks happen automatically.


Index: cs_invoke.tc
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnet/cscc/csharp/cs_invoke.tc,v
retrieving revision 1.16
retrieving revision 1.17
diff -C2 -r1.16 -r1.17
*** cs_invoke.tc        12 Nov 2002 18:08:39 -0000      1.16
--- cs_invoke.tc        15 Nov 2002 01:37:42 -0000      1.17
***************
*** 848,851 ****
--- 848,852 ----
        /* Replace the current expression with "this" */
        *parent = ILNode_This_create();
+       CSSemSetBase(value);
        return value;
  }
***************
*** 866,869 ****
--- 867,871 ----
        /* Replace the current expression with "this" */
        *parent = ILNode_This_create();
+       CSSemSetBase(value);
        return value;
  }





reply via email to

[Prev in Thread] Current Thread [Next in Thread]