Branch: Tag:

2002-05-15

2002-05-15 09:11:21 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Improved trampoline handling.

Rev: src/interpret.c:1.260
Rev: src/interpret_functions.h:1.104

5:   \*/   /**/   #include "global.h" - RCSID("$Id: interpret.c,v 1.259 2002/05/10 23:41:57 nilsson Exp $"); + RCSID("$Id: interpret.c,v 1.260 2002/05/15 09:11:21 grubba Exp $");   #include "interpret.h"   #include "object.h"   #include "program.h"
1235:       case APPLY_LOW:    o = (struct object *)arg1; +  if(o->prog == pike_trampoline_program) +  { +  fun=((struct pike_trampoline *)(o->storage))->func; +  scope=((struct pike_trampoline *)(o->storage))->frame; +  o=scope->current_object; +  goto apply_low_with_scope; +  }    fun = (ptrdiff_t)arg2;       apply_low: