[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Dotgnu-pnet-commits] CVS: pnet/cscc/csharp cs_lvalue.tc,1.29,1.30
From: |
Rhys Weatherley <address@hidden> |
Subject: |
[Dotgnu-pnet-commits] CVS: pnet/cscc/csharp cs_lvalue.tc,1.29,1.30 |
Date: |
Fri, 29 Nov 2002 16:58:14 -0500 |
Update of /cvsroot/dotgnu-pnet/pnet/cscc/csharp
In directory subversions:/tmp/cvs-serv13481/cscc/csharp
Modified Files:
cs_lvalue.tc
Log Message:
Support the use of "this" as an l-value within struct's.
Index: cs_lvalue.tc
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnet/cscc/csharp/cs_lvalue.tc,v
retrieving revision 1.29
retrieving revision 1.30
diff -C2 -r1.29 -r1.30
*** cs_lvalue.tc 28 Nov 2002 00:58:18 -0000 1.29
--- cs_lvalue.tc 29 Nov 2002 21:58:12 -0000 1.30
***************
*** 45,48 ****
--- 45,49 ----
CSSemValue value;
ILNode_MethodDeclaration *method;
+ ILType *type;
/* Find the method declaration */
***************
*** 57,61 ****
/* Get the type from the method's class and return */
! CSSemSetRValue(value,
ILClassToType(ILMethod_Owner(method->methodInfo)));
return value;
}
--- 58,70 ----
/* Get the type from the method's class and return */
! type = ILClassToType(ILMethod_Owner(method->methodInfo));
! if(ILTypeIsValue(type) && !(info->outputIsJava))
! {
! CSSemSetLValue(value, type);
! }
! else
! {
! CSSemSetRValue(value, type);
! }
return value;
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Dotgnu-pnet-commits] CVS: pnet/cscc/csharp cs_lvalue.tc,1.29,1.30,
Rhys Weatherley <address@hidden> <=