Ignore:
Timestamp:
2013-11-12T10:46:04+01:00 (10 months ago)
Author:
moo
Message:

clean up shm handlers

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/processor/main.m4

    r1461 r1468  
    260260REDEF(`PROCESSOR_TYPE', `calc') include(srcdir`/processor/processor.m4') 
    261261 
    262 pushdef(`FIXPOINTER_EX', `$2 = ($1 *) processor->shm->handlers->to_readonly(processor->shm, (void *)$2);') 
     262pushdef(`FIXPOINTER_EX', `$2 = ptradd($1 *, notnullable($2), processor->relocatediff);') 
    263263REDEF(`PROCESSOR_TYPE', `store') include(srcdir`/processor/processor.m4') 
    264264popdef(`FIXPOINTER_EX') 
     
    281281#endif /* HAVE_XCACHE_DISASSEMBLER */ 
    282282 
     283undefine(`PROCESSOR_TYPE') 
     284 
    283285include(srcdir`/processor/foot.m4') 
    284286 
Note: See TracChangeset for help on using the changeset viewer.