|
tvm
|
A representation of a stack frame. More...
#include <vm.h>
Public Member Functions | |
| VMFrame (Index pc, Index func_index, Index args, const Instruction *code, Index register_file_size) | |
Public Attributes | |
| Index | pc |
| The return program counter. More... | |
| Index | func_index |
| The index into the function table, points to the caller. More... | |
| Index | args |
| The number of arguments. More... | |
| const Instruction * | code |
| A pointer into the caller function's instructions. More... | |
| std::vector< ObjectRef > | register_file |
| Statically allocated space for objects. More... | |
| RegName | caller_return_register |
| Register in caller's frame to put return value. More... | |
A representation of a stack frame.
A stack frame is a record containing the information needed to restore the caller's virtual machine state after returning from a function call.
|
inline |
| Index tvm::runtime::vm::VMFrame::args |
The number of arguments.
| RegName tvm::runtime::vm::VMFrame::caller_return_register |
Register in caller's frame to put return value.
| const Instruction* tvm::runtime::vm::VMFrame::code |
A pointer into the caller function's instructions.
| Index tvm::runtime::vm::VMFrame::func_index |
The index into the function table, points to the caller.
| Index tvm::runtime::vm::VMFrame::pc |
The return program counter.
| std::vector<ObjectRef> tvm::runtime::vm::VMFrame::register_file |
Statically allocated space for objects.
1.8.13