VMS/VMS_Implementations/SSR_impls/SSR__MC_shared_impl

diff SSR_PluginFns.c @ 77:833b31a8abc1

working version (w/ old hash impl)
author Nina Engelhardt <nengel@mailbox.tu-berlin.de>
date Tue, 28 Aug 2012 13:40:07 +0200
parents 6647aea90477
children ce07f1a42ddf
line diff
     1.1 --- a/SSR_PluginFns.c	Sun Jul 15 02:03:43 2012 -0700
     1.2 +++ b/SSR_PluginFns.c	Tue Aug 28 13:40:07 2012 +0200
     1.3 @@ -118,7 +118,9 @@
     1.4        
     1.5     while( req != NULL )
     1.6      {
     1.7 -//          semEnv->lastReqType = 0;
     1.8 +#ifdef HOLISTIC__TURN_ON_OBSERVE_UCC
     1.9 +          semEnv->lastReqType = 0;
    1.10 +#endif
    1.11        switch( req->reqType )
    1.12         { case semantic:     handleSemReq(         req, requestingPr, semEnv);
    1.13              break;
    1.14 @@ -298,12 +300,13 @@
    1.15     if(procr->assignCount <= 1){
    1.16         newu.ret_ptr = procr->resumeInstrPtr;  
    1.17     } else {
    1.18 -        void* frame_ptr0 = procr->framePtr;                               
    1.19 +        /*void* frame_ptr0 = procr->framePtr;                               
    1.20          void* frame_ptr1 = *((void**)frame_ptr0);                          
    1.21          void* frame_ptr2 = *((void**)frame_ptr1);                          
    1.22          void* frame_ptr3 = *((void**)frame_ptr2);                          
    1.23          void* ret_addr = *((void**)frame_ptr3 + 1);                        
    1.24 -        newu.ret_ptr = ret_addr; 
    1.25 +        newu.ret_ptr = ret_addr; */
    1.26 +       newu.ret_ptr = procr->resumeInstrPtr;
    1.27     }
    1.28     addToListOfArrays(Unit,newu,semEnv->unitList);
    1.29