#include <stackframe.h>
Collaboration diagram for Stack_frame:
Public Member Functions | |
Stack_frame (Usecode_function *fun, int event, Game_object *caller, int chain, int depth) | |
~Stack_frame () | |
Static Public Member Functions | |
static int | getCallChainID () |
Public Attributes | |
Usecode_function * | function |
uint8 * | ip |
uint8 * | data |
uint8 * | externs |
uint8 * | code |
uint8 * | endp |
int | line_number |
int | call_chain |
int | call_depth |
int | num_externs |
int | num_args |
int | num_vars |
Usecode_value * | locals |
int | eventid |
Game_object * | caller_item |
Usecode_value * | save_sp |
Static Public Attributes | |
static int | LastCallChainID |
Definition at line 31 of file stackframe.h.
Stack_frame::Stack_frame | ( | Usecode_function * | fun, | |
int | event, | |||
Game_object * | caller, | |||
int | chain, | |||
int | depth | |||
) |
Definition at line 37 of file stackframe.cc.
References code, Usecode_function::code, data, endp, Usecode_function::extended, externs, function, ip, Usecode_function::len, locals, num_args, num_externs, num_vars, Read2(), and Read4().
Here is the call graph for this function:
Stack_frame::~Stack_frame | ( | ) |
static int Stack_frame::getCallChainID | ( | ) | [inline, static] |
Definition at line 62 of file stackframe.h.
References LastCallChainID.
Referenced by Usecode_internal::call_function().
Definition at line 39 of file stackframe.h.
Referenced by Stack_frame(), and Usecode_internal::uc_trace_disasm().
Definition at line 40 of file stackframe.h.
Referenced by Stack_frame(), and Usecode_internal::uc_trace_disasm().
Definition at line 41 of file stackframe.h.
Referenced by Stack_frame(), and Usecode_internal::uc_trace_disasm().
Definition at line 42 of file stackframe.h.
Referenced by Stack_frame(), and Usecode_internal::uc_trace_disasm().
Definition at line 44 of file stackframe.h.
Definition at line 49 of file stackframe.h.
Referenced by Usecode_internal::call_function(), and Usecode_internal::previous_stack_frame().
Definition at line 52 of file stackframe.h.
Referenced by Usecode_internal::call_function(), Stack_frame(), and Usecode_internal::uc_trace_disasm().
Definition at line 53 of file stackframe.h.
Referenced by Stack_frame(), and Usecode_internal::uc_trace_disasm().
Definition at line 54 of file stackframe.h.
Referenced by Usecode_internal::call_function(), Stack_frame(), Usecode_internal::uc_trace_disasm(), and ~Stack_frame().
Definition at line 56 of file stackframe.h.
Definition at line 59 of file stackframe.h.
Referenced by Usecode_internal::call_function(), and Usecode_internal::previous_stack_frame().
int Stack_frame::LastCallChainID [static] |