Branch: Tag:

2000-01-22

2000-01-22 22:13:08 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Trampolines now look more like functions.

Rev: src/interpret.c:1.135
Rev: src/interpreter.h:1.30

184:    add_ref( ((struct pike_trampoline *)(o->storage))->frame=fp );    ((struct pike_trampoline *)(o->storage))->func=GET_ARG()+fp->context.identifier_level;    push_object(o); +  /* Make it look like a function. */ +  sp[-1].subtype = pike_trampoline_program->lfuns[LFUN_CALL]; +  sp[-1].type = T_FUNCTION;    print_return_value();    break;    }