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

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

[Dotgnu-pnet-commits] CVS: pnet/include il_coder.h,1.44,1.45


From: Rhys Weatherley <address@hidden>
Subject: [Dotgnu-pnet-commits] CVS: pnet/include il_coder.h,1.44,1.45
Date: Sun, 27 Jul 2003 23:56:26 -0400

Update of /cvsroot/dotgnu-pnet/pnet/include
In directory subversions:/tmp/cvs-serv26273/include

Modified Files:
        il_coder.h 
Log Message:


Start adding support for a treecc-based marshalling system,
to eventually replace the "CVMCoder_SetupExtern" mess.


Index: il_coder.h
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnet/include/il_coder.h,v
retrieving revision 1.44
retrieving revision 1.45
diff -C2 -r1.44 -r1.45
*** il_coder.h  22 Jun 2003 17:16:44 -0000      1.44
--- il_coder.h  28 Jul 2003 03:56:24 -0000      1.45
***************
*** 708,714 ****
         * profiling, debugging etc.
         */
!       void (*setFlags)(ILCoder *coder,int flags);
  
-       
        /*
         * Sentinel string to catch missing methods in class tables.
--- 708,755 ----
         * profiling, debugging etc.
         */
!       void (*setFlags)(ILCoder *coder, int flags);
! 
!       /*
!        * Allocate an extra local variable in the current method frame.
!        * Returns the local variable index.
!        */
!       ILUInt32 (*allocExtraLocal)(ILCoder *coder, ILType *type);
! 
!       /*
!        * Push a thread value onto the stack for an internalcall.
!        */
!       void (*pushThread)(ILCoder *coder, int useRawCalls);
! 
!       /*
!        * Load the address of an argument onto the native argument stack.
!        */
!       void (*loadNativeArgAddr)(ILCoder *coder, ILUInt32 num);
! 
!       /*
!        * Load the address of a local onto the native argument stack.
!        */
!       void (*loadNativeLocalAddr)(ILCoder *coder, ILUInt32 num);
! 
!       /*
!        * Start pushing arguments for a "libffi" call onto the stack.
!        */
!       void (*startFfiArgs)(ILCoder *coder);
! 
!       /*
!        * Push the address of the raw argument block onto the stack.
!        */
!       void (*pushRawArgPointer)(ILCoder *coder);
! 
!       /*
!        * Perform a function call using "libffi".
!        */
!       void (*callFfi)(ILCoder *coder, void *fn, void *cif,
!                                       int useRawCalls, int hasReturn);
! 
!       /*
!        * Check the top of stack value for NULL.
!        */
!       void (*checkNull)(ILCoder *coder);
  
        /*
         * Sentinel string to catch missing methods in class tables.
***************
*** 954,961 ****
  #define       ILCoderMarkBytecode(coder,offset) \
                        ((*((coder)->classInfo->markBytecode))((coder), 
(offset)))
- 
  #define ILCoderSetFlags(coder,flags) \
!       ((*((coder)->classInfo->setFlags))((coder), (flags)))
! 
  #define       ILCoderMarkEnd(coder) \
                        ((*((coder)->classInfo->markEnd))((coder)))
--- 995,1017 ----
  #define       ILCoderMarkBytecode(coder,offset) \
                        ((*((coder)->classInfo->markBytecode))((coder), 
(offset)))
  #define ILCoderSetFlags(coder,flags) \
!                       ((*((coder)->classInfo->setFlags))((coder), (flags)))
! #define       ILCoderAllocExtraLocal(coder,type) \
!                       ((*((coder)->classInfo->allocExtraLocal))((coder), 
(type)))
! #define       ILCoderPushThread(coder,useRawCalls) \
!                       ((*((coder)->classInfo->pushThread))((coder), 
(useRawCalls)))
! #define       ILCoderLoadNativeArgAddr(coder,num) \
!                       ((*((coder)->classInfo->loadNativeArgAddr))((coder), 
(num)))
! #define       ILCoderLoadNativeLocalAddr(coder,num) \
!                       ((*((coder)->classInfo->loadNativeLocalAddr))((coder), 
(num)))
! #define       ILCoderStartFfiArgs(coder) \
!                       ((*((coder)->classInfo->startFfiArgs))((coder)))
! #define       ILCoderPushRawArgPointer(coder) \
!                       ((*((coder)->classInfo->pushRawArgPointer))((coder)))
! #define       ILCoderCallFfi(coder,fn,cif,useRawCalls,hasReturn) \
!                       ((*((coder)->classInfo->callFfi))((coder), (fn), (cif), 
\
!                                                                               
          (useRawCalls), (hasReturn)))
! #define       ILCoderCheckNull(coder) \
!                       ((*((coder)->classInfo->checkNull))((coder)))
  #define       ILCoderMarkEnd(coder) \
                        ((*((coder)->classInfo->markEnd))((coder)))





reply via email to

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