Changeset 4951


Ignore:
Timestamp:
Aug 18, 2006, 8:23:01 AM (18 years ago)
Author:
Gary Byers
Message:

Changes in purify_xp().

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ccl/lisp-kernel/x86-gc.c

    r4480 r4951  
    29822982purify_xp(ExceptionInformation *xp, BytePtr low, BytePtr high, area *to, int what)
    29832983{
    2984   unsigned long *regs = (unsigned long *) xpGPRvector(xp);
    2985 
    2986 #ifdef PPC
    2987   int r;
    2988 
    2989   /* registers >= fn should be treated as roots.
    2990      The PC, LR, loc_pc, and CTR should be treated as "locatives".
    2991    */
    2992 
    2993   for (r = fn; r < 32; r++) {
    2994     copy_ivector_reference((LispObj*) (&(regs[r])), low, high, to, what);
    2995   };
    2996 
    2997   purify_locref((LispObj*) (&(regs[loc_pc])), low, high, to, what);
    2998 
    2999   purify_locref((LispObj*) (&(xpPC(xp))), low, high, to, what);
    3000   purify_locref((LispObj*) (&(xpLR(xp))), low, high, to, what);
    3001   purify_locref((LispObj*) (&(xpCTR(xp))), low, high, to, what);
    3002 #endif
     2984  natural *regs = (natural *) xpGPRvector(xp);
     2985
    30032986
    30042987#ifdef X86
Note: See TracChangeset for help on using the changeset viewer.