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

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

[Dotgnu-pnet-commits] CVS: pnet/codegen jv_assign.tc,1.9,1.10


From: Rhys Weatherley <address@hidden>
Subject: [Dotgnu-pnet-commits] CVS: pnet/codegen jv_assign.tc,1.9,1.10
Date: Mon, 04 Nov 2002 19:33:42 -0500

Update of /cvsroot/dotgnu-pnet/pnet/codegen
In directory subversions:/tmp/cvs-serv22450/codegen

Modified Files:
        jv_assign.tc 
Log Message:


Remove obsolete function.


Index: jv_assign.tc
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnet/codegen/jv_assign.tc,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -r1.9 -r1.10
*** jv_assign.tc        21 Oct 2002 01:01:10 -0000      1.9
--- jv_assign.tc        5 Nov 2002 00:33:40 -0000       1.10
***************
*** 107,132 ****
  
  /*
-  * Determine the common type for an assignment expression.
-  */
- static ILMachineType AssignCommonType(ILGenInfo *info,
-                                                                         
ILMachineType type1,
-                                                                         
ILMachineType type2)
- {
-       if(type1 == ILMachineType_String || type2 == ILMachineType_String)
-       {
-               return ILMachineType_String;
-       }
-       else if(type1 == ILMachineType_ObjectRef ||
-                       type2 == ILMachineType_ObjectRef)
-       {
-               return ILMachineType_ObjectRef;
-       }
-       else
-       {
-               return ILCommonType(info, type1, type2, 0);
-       }
- }
- 
- /*
   * Common generation code for ILNode_AssignExpression
   */
--- 107,110 ----





reply via email to

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