Exemple #1
0
 // resetCache
 // Clear out any existing continuation and install the initial one.
 public static void reset()
 {
     heap = Factory.False;
     cont = ROOT;
     cont.prepare0();
     cont.Slot0       = InitialContinuation.singletonProcedure;
     cont.returnIndex = 0;
 }
Exemple #2
0
 public static void save0()
 {
     if (cont == LIMIT)
     {
         heap = copyOutStack();
         cont = SENTINEL;
     }
     cont = cont.after;
     cont.prepare0();
     cont.Slot0 = Reg.ProcRegister0;
 }
 // resetCache
 // Clear out any existing continuation and install the initial one.
 public static void reset()
 {
   heap = Factory.False;
   cont = ROOT;
   cont.prepare0();
   cont.Slot0 = InitialContinuation.singletonProcedure;
   cont.returnIndex = 0;
 }
  public static void save0 ()
  {
    if (cont == LIMIT) {
	heap = copyOutStack();
	cont = SENTINEL;
	}
    cont = cont.after;
    cont.prepare0 ();
    cont.Slot0 = Reg.ProcRegister0;
  }