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

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

[Dotgnu-pnet-commits] CVS: pnet/engine cvm_inline.c,1.14,1.15


From: Rhys Weatherley <address@hidden>
Subject: [Dotgnu-pnet-commits] CVS: pnet/engine cvm_inline.c,1.14,1.15
Date: Tue, 08 Jul 2003 00:02:27 -0400

Update of /cvsroot/dotgnu-pnet/pnet/engine
In directory subversions:/tmp/cvs-serv31251/engine

Modified Files:
        cvm_inline.c 
Log Message:


Use ILExecThreadCallVirtualV instead of ILExecThreadCallVirtual for the
StringBuilder.Append inline because the va_list packing code doesn't work on
PPC GNU/Linux.


Index: cvm_inline.c
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnet/engine/cvm_inline.c,v
retrieving revision 1.14
retrieving revision 1.15
diff -C2 -r1.14 -r1.15
*** cvm_inline.c        29 Jun 2003 21:38:12 -0000      1.14
--- cvm_inline.c        8 Jul 2003 04:02:25 -0000       1.15
***************
*** 442,451 ****
                {
                        /* We need to reallocate the builder, so call the C# 
library */
                        COPY_STATE_TO_THREAD();
!                       ILExecThreadCallVirtual(thread, CVMP_ARG_PTR(ILMethod 
*),
!                                                                       
&(stacktop[-2].ptrValue),
!                                                                       
stacktop[-2].ptrValue,
!                                                                       
(ILVaInt)(stacktop[-1].intValue));
                        RESTORE_STATE_FROM_THREAD();
                        MODIFY_PC_AND_STACK(CVMP_LEN_PTR, -1);
                }
--- 442,453 ----
                {
                        /* We need to reallocate the builder, so call the C# 
library */
+                       ILExecValue tempValue;
+                       tempValue.int32Value = stacktop[-1].intValue;
                        COPY_STATE_TO_THREAD();
!                       ILExecThreadCallVirtualV(thread, CVMP_ARG_PTR(ILMethod 
*),
!                                                                        
&tempValue, stacktop[-2].ptrValue,
!                                                                        
&tempValue);
                        RESTORE_STATE_FROM_THREAD();
+                       stacktop[-2].ptrValue = tempValue.ptrValue;
                        MODIFY_PC_AND_STACK(CVMP_LEN_PTR, -1);
                }





reply via email to

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