VM: FRAME_RETURN_ADDRESS define unused
parent
9413f711b9
commit
f3c34e44d4
|
@ -2,6 +2,4 @@ namespace factor {
|
||||||
|
|
||||||
#define FACTOR_CPU_STRING "arm"
|
#define FACTOR_CPU_STRING "arm"
|
||||||
|
|
||||||
#define FRAME_RETURN_ADDRESS(frame, vm) *(XT*)(vm->frame_successor(frame) + 1)
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -2,8 +2,6 @@
|
||||||
|
|
||||||
namespace factor {
|
namespace factor {
|
||||||
|
|
||||||
#define FRAME_RETURN_ADDRESS(frame, vm) \
|
|
||||||
*((void**)(vm->frame_successor(frame) + 1) + 1)
|
|
||||||
#define UAP_STACK_POINTER(ucontext) \
|
#define UAP_STACK_POINTER(ucontext) \
|
||||||
((ucontext_t*)ucontext)->uc_mcontext.uc_regs->gregs[1]
|
((ucontext_t*)ucontext)->uc_mcontext.uc_regs->gregs[1]
|
||||||
#define UAP_PROGRAM_COUNTER(ucontext) \
|
#define UAP_PROGRAM_COUNTER(ucontext) \
|
||||||
|
|
|
@ -2,8 +2,6 @@
|
||||||
|
|
||||||
namespace factor {
|
namespace factor {
|
||||||
|
|
||||||
#define FRAME_RETURN_ADDRESS(frame, vm) \
|
|
||||||
*((void**)(vm->frame_successor(frame) + 1) + 2)
|
|
||||||
#define UAP_STACK_POINTER(ucontext) \
|
#define UAP_STACK_POINTER(ucontext) \
|
||||||
((ucontext_t*)ucontext)->uc_mcontext.gp_regs[1]
|
((ucontext_t*)ucontext)->uc_mcontext.gp_regs[1]
|
||||||
#define UAP_PROGRAM_COUNTER(ucontext) \
|
#define UAP_PROGRAM_COUNTER(ucontext) \
|
||||||
|
|
Loading…
Reference in New Issue