Author: ankit
Date: 2006-02-20 08:03:47 -0500 (Mon, 20 Feb 2006)
New Revision: 57065

Removed:
   trunk/mcs/ilasm/tests/generics-a.il
   trunk/mcs/ilasm/tests/test-29.il
Modified:
   trunk/mcs/ilasm/parser/ChangeLog
   trunk/mcs/ilasm/parser/ILParser.jay
   trunk/mcs/ilasm/scanner/ChangeLog
   trunk/mcs/ilasm/scanner/ILTables.cs
   trunk/mcs/ilasm/tests/ChangeLog
Log:
In ilasm/tests:
        * generics-al.i, test-29.il: Remove. These use invalid style of
        specifying generic constraints.

In ilasm/scanner:
        * ILTable.cs (directives): Remove .constraint

In ilasm/parser:
        * ILParser.jay: Remove D_CONSTRAINT


Modified: trunk/mcs/ilasm/parser/ChangeLog
===================================================================
--- trunk/mcs/ilasm/parser/ChangeLog    2006-02-20 13:02:16 UTC (rev 57064)
+++ trunk/mcs/ilasm/parser/ChangeLog    2006-02-20 13:03:47 UTC (rev 57065)
@@ -1,5 +1,9 @@
 2006-02-20  Ankit Jain  <[EMAIL PROTECTED]>
 
+       * ILParser.jay: Remove D_CONSTRAINT
+
+2006-02-20  Ankit Jain  <[EMAIL PROTECTED]>
+
        * ILParser.jay: Update to use Report.Error instead of directly throwing
        an exception.
 

Modified: trunk/mcs/ilasm/parser/ILParser.jay
===================================================================
--- trunk/mcs/ilasm/parser/ILParser.jay 2006-02-20 13:02:16 UTC (rev 57064)
+++ trunk/mcs/ilasm/parser/ILParser.jay 2006-02-20 13:03:47 UTC (rev 57065)
@@ -210,7 +210,6 @@
 %token D_CLASS
 %token D_COMTYPE
 %token D_CONFIG
-%token D_CONSTRAINT
 %token D_IMAGEBASE
 %token D_CORFLAGS
 %token D_CTOR

Modified: trunk/mcs/ilasm/scanner/ChangeLog
===================================================================
--- trunk/mcs/ilasm/scanner/ChangeLog   2006-02-20 13:02:16 UTC (rev 57064)
+++ trunk/mcs/ilasm/scanner/ChangeLog   2006-02-20 13:03:47 UTC (rev 57065)
@@ -1,5 +1,9 @@
 2006-02-20  Ankit Jain  <[EMAIL PROTECTED]>
 
+       * ILTable.cs (directives): Remove .constraint
+
+2006-02-20  Ankit Jain  <[EMAIL PROTECTED]>
+
        * ILTokenizingException.cs (ILTokenizingException): Derive from
        ILAsmException.
 

Modified: trunk/mcs/ilasm/scanner/ILTables.cs
===================================================================
--- trunk/mcs/ilasm/scanner/ILTables.cs 2006-02-20 13:02:16 UTC (rev 57064)
+++ trunk/mcs/ilasm/scanner/ILTables.cs 2006-02-20 13:03:47 UTC (rev 57065)
@@ -54,7 +54,6 @@
                                 directives [".class"] = new ILToken 
(Token.D_CLASS, ".class");
                                 directives [".comtype"] = new ILToken 
(Token.D_COMTYPE, ".comtype");
                                 directives [".config"] = new ILToken 
(Token.D_CONFIG, ".config");
-                                directives [".constraint"] = new ILToken 
(Token.D_CONSTRAINT, ".constraint");
                                 directives [".imagebase"] = new ILToken 
(Token.D_IMAGEBASE, ".imagebase");
                                 directives [".corflags"] = new ILToken 
(Token.D_CORFLAGS, ".corflags");
                                 directives [".ctor"] = new ILToken 
(Token.D_CTOR, ".ctor");

Modified: trunk/mcs/ilasm/tests/ChangeLog
===================================================================
--- trunk/mcs/ilasm/tests/ChangeLog     2006-02-20 13:02:16 UTC (rev 57064)
+++ trunk/mcs/ilasm/tests/ChangeLog     2006-02-20 13:03:47 UTC (rev 57065)
@@ -1,3 +1,8 @@
+2006-02-20  Ankit Jain  <[EMAIL PROTECTED]>
+
+       * generics-al.i, test-29.il: Remove. These use invalid style of
+       specifying generic constraints.
+
 2006-02-19  Ankit Jain  <[EMAIL PROTECTED]>
 
        * invalid-method.il: New. Reference to undefined method.

Deleted: trunk/mcs/ilasm/tests/generics-a.il
===================================================================
--- trunk/mcs/ilasm/tests/generics-a.il 2006-02-20 13:02:16 UTC (rev 57064)
+++ trunk/mcs/ilasm/tests/generics-a.il 2006-02-20 13:03:47 UTC (rev 57065)
@@ -1,43 +0,0 @@
-
-.namespace Mono.ILASM.Test {
-
-        .class public GenComp<T> extends [mscorlib]System.Object {
-
-                .constraint !0 is class [mscorlib]System.IComparable
-
-                .method public void .ctor ()
-                {
-
-                }
-                
-                .method int32 Compare (!0 a, !0 b)
-                {
-                        ldarg.0
-                        ldarg.1
-                        ldarg.2
-                        callvirt int32 [mscorlib]System.IComparable::Compare 
(!0, !0)
-                        ret
-                }
-        }
-
-        .class public Driver extends [mscorlib]System.Object {
-
-                .method public static int32 Main ()
-                {
-                        .entrypoint
-                        .locals init (class Mono.ILASM.Test.GenComp<int32>)
-
-                        newobj instance void class 
Mono.ILASM.Test.GenComp<int32>::.ctor ()
-                        stloc.0
-
-                        ldloc.0
-                        ldc.i4.1
-                        ldc.i4.1
-                        callvirt instance int32 class 
Mono.ILASM.Test.GenComp<int32>::Compare (int32, int32)
-
-                        ret
-                }
-        }
-
-}
-

Deleted: trunk/mcs/ilasm/tests/test-29.il
===================================================================
--- trunk/mcs/ilasm/tests/test-29.il    2006-02-20 13:02:16 UTC (rev 57064)
+++ trunk/mcs/ilasm/tests/test-29.il    2006-02-20 13:03:47 UTC (rev 57065)
@@ -1,26 +0,0 @@
-//
-// Mono.ILASM.Tests
-//
-// Author(s):
-//  Jackson Harper ([EMAIL PROTECTED])
-//
-// (C) 2003 Jackson Harper, All rights reserved
-//
-.assembly extern mscorlib { }
-
-//
-// Create a generic type and a generic method
-//
-
-.namespace Mono.ILASM.Tests {
-
-           
-        .class public Test_29<T> extends [mscorlib]System.Object {
-        
-               .constraint !0 is class [mscorlib]System.Collections.IList
-               
-               .method void meth<T> () {
-
-               }
-       }
-}
\ No newline at end of file

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to