pike.git
/
src
/
builtin.cmod
version
»
Context lines:
10
20
40
80
file
none
3
pike.git/src/builtin.cmod:1:
/* -*- c -*-
-
* $Id: builtin.cmod,v 1.
36
2001/06/19
14
:
45
:
52
grubba Exp $
+
* $Id: builtin.cmod,v 1.
37
2001/06/19
17
:
41
:
35
grubba Exp $
*/ #include "global.h" #include "interpret.h" #include "svalue.h" #include "opcodes.h" #include "pike_macros.h" #include "object.h" #include "program.h" #include "array.h"
pike.git/src/builtin.cmod:871:
*! @[catch()], @[throw()] */ PMOD_EXPORT PIKEFUN array(mixed) backtrace() efun; optflags OPT_EXTERNAL_DEPEND; { struct pike_frame *f; int size = 0;
-
for (f =
(
Pike_fp
?Pike_fp->next:NULL)
; f; f = f->next) {
+
for (f = Pike_fp; f; f = f->next) {
struct object *o = low_clone(backtrace_frame_program); struct backtrace_frame_struct *bf; call_c_initializers(o); bf = OBJ2_BACKTRACE_FRAME(o); if ((bf->prog = f->context.prog)) { add_ref(bf->prog); bf->pc = f->pc;