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

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

[Dotgnu-pnet-commits] CVS: cscctest/csharp/stmt using1.il,1.1,1.2 using1


From: Gopal.V <address@hidden>
Subject: [Dotgnu-pnet-commits] CVS: cscctest/csharp/stmt using1.il,1.1,1.2 using1.jl,1.1,1.2
Date: Sun, 17 Nov 2002 05:12:07 -0500

Update of /cvsroot/dotgnu-pnet/cscctest/csharp/stmt
In directory subversions:/tmp/cvs-serv16822/csharp/stmt

Modified Files:
        using1.il using1.jl 
Log Message:
additional tests and some changes in the output


Index: using1.il
===================================================================
RCS file: /cvsroot/dotgnu-pnet/cscctest/csharp/stmt/using1.il,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** using1.il   17 Nov 2002 09:57:50 -0000      1.1
--- using1.il   17 Nov 2002 10:12:05 -0000      1.2
***************
*** 48,52 ****
  .method private static hidebysig specialname rtspecialname void '.cctor'() 
cil managed 
  {
!       ldnull
        stsfld  class 'Foo'/'Child' 'Foo'::'child'
        ret
--- 48,52 ----
  .method private static hidebysig specialname rtspecialname void '.cctor'() 
cil managed 
  {
!       newobj  instance void 'Foo'/'Child'::'.ctor'()
        stsfld  class 'Foo'/'Child' 'Foo'::'child'
        ret
***************
*** 58,62 ****
  .method public static hidebysig void 'NormalCase'() cil managed 
  {
!       .locals (int32, class 'Foo'/'Child')
        ldc.i4.0
        stloc.0
--- 58,62 ----
  .method public static hidebysig void 'NormalCase'() cil managed 
  {
!       .locals (int32, int32)
        ldc.i4.0
        stloc.0
***************
*** 74,81 ****
  ?L4:
        ldsfld  class 'Foo'/'Child' 'Foo'::'child'
        stloc.1
        call    void 'Foo'::'Override1'()
-       ldc.i4.s        12
-       stsfld  int32 'Foo'::'c'
        ret
        .maxstack 2
--- 74,80 ----
  ?L4:
        ldsfld  class 'Foo'/'Child' 'Foo'::'child'
+       call    instance int32 'Foo'/'Child'::'get_i32'()
        stloc.1
        call    void 'Foo'::'Override1'()
        ret
        .maxstack 2

Index: using1.jl
===================================================================
RCS file: /cvsroot/dotgnu-pnet/cscctest/csharp/stmt/using1.jl,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** using1.jl   17 Nov 2002 09:57:50 -0000      1.1
--- using1.jl   17 Nov 2002 10:12:05 -0000      1.2
***************
*** 52,60 ****
  .method private static hidebysig specialname rtspecialname void '.cctor'() 
cil managed java 
  {
!       aconst_null
        putstatic       class 'Foo'/'Child' 'Foo'::'child'
        return
        .locals 0
!       .maxstack 1
  } // method .cctor
  } // class Foo
--- 52,62 ----
  .method private static hidebysig specialname rtspecialname void '.cctor'() 
cil managed java 
  {
!       new     'Foo'/'Child'
!       dup
!       invokespecial   instance void 'Foo'/'Child'::'.ctor'()
        putstatic       class 'Foo'/'Child' 'Foo'::'child'
        return
        .locals 0
!       .maxstack 2
  } // method .cctor
  } // class Foo
***************
*** 78,85 ****
  ?L4:
        getstatic       class 'Foo'/'Child' 'Foo'::'child'
!       astore_1
        invokestatic    void 'Foo'::'Override1'()
-       bipush  12
-       putstatic       int32 'Foo'::'c'
        return
        .locals 2
--- 80,86 ----
  ?L4:
        getstatic       class 'Foo'/'Child' 'Foo'::'child'
!       invokespecial   instance int32 'Foo'/'Child'::'get_i32'()
!       istore_1
        invokestatic    void 'Foo'::'Override1'()
        return
        .locals 2





reply via email to

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