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

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

[dotgnu-pnet-commits] pnet ChangeLog cscc/csharp/cs_gather.c


From: Klaus Treichel
Subject: [dotgnu-pnet-commits] pnet ChangeLog cscc/csharp/cs_gather.c
Date: Sun, 23 Sep 2007 08:49:55 +0000

CVSROOT:        /cvsroot/dotgnu-pnet
Module name:    pnet
Changes by:     Klaus Treichel <ktreichel>      07/09/23 08:49:55

Modified files:
        .              : ChangeLog 
        cscc/csharp    : cs_gather.c 

Log message:
        Fix resolving of primitive types for generic constraints.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/pnet/ChangeLog?cvsroot=dotgnu-pnet&r1=1.3498&r2=1.3499
http://cvs.savannah.gnu.org/viewcvs/pnet/cscc/csharp/cs_gather.c?cvsroot=dotgnu-pnet&r1=1.54&r2=1.55

Patches:
Index: ChangeLog
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnet/ChangeLog,v
retrieving revision 1.3498
retrieving revision 1.3499
diff -u -b -r1.3498 -r1.3499
--- ChangeLog   20 Sep 2007 20:04:15 -0000      1.3498
+++ ChangeLog   23 Sep 2007 08:49:54 -0000      1.3499
@@ -1,3 +1,8 @@
+2007-09-23  Klaus Treichel  <address@hidden>
+
+       * cscc/csharp/cs_gather.c: Fix resolving the class of generic type
+       constraints so that primitive types are handled too.
+
 2007-09-20  Klaus Treichel  <address@hidden>
 
        * codegen/cg_decls.c: Use ILDasmDumpGenericParams to dump the generic

Index: cscc/csharp/cs_gather.c
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnet/cscc/csharp/cs_gather.c,v
retrieving revision 1.54
retrieving revision 1.55
diff -u -b -r1.54 -r1.55
--- cscc/csharp/cs_gather.c     20 Sep 2007 20:04:16 -0000      1.54
+++ cscc/csharp/cs_gather.c     23 Sep 2007 08:49:55 -0000      1.55
@@ -140,7 +140,7 @@
                        constraintType = CSSemType(constraint, info, 
&constraint);
                        if(constraintType)
                        {
-                               ILClass *constraintClass = 
ILType_ToClass(constraintType);
+                               ILClass *constraintClass = 
ILClassFromType(info->image, 0, constraintType, 0);
 
                                if(first)
                                {




reply via email to

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