VM: an unused #define we can eliminate

db4
Björn Lindqvist 2015-08-07 17:47:15 +02:00 committed by John Benediktsson
parent 81057c4108
commit 510193f012
6 changed files with 0 additions and 10 deletions

View File

@ -10,7 +10,6 @@ void flush_icache(cell start, cell len);
(((ucontext_t*)ucontext)->uc_mcontext.arm_sp) (((ucontext_t*)ucontext)->uc_mcontext.arm_sp)
#define UAP_PROGRAM_COUNTER(ucontext) \ #define UAP_PROGRAM_COUNTER(ucontext) \
(((ucontext_t*)ucontext)->uc_mcontext.arm_pc) (((ucontext_t*)ucontext)->uc_mcontext.arm_pc)
#define UAP_STACK_POINTER_TYPE greg_t
#define UAP_SET_TOC_POINTER(uap, ptr) (void)0 #define UAP_SET_TOC_POINTER(uap, ptr) (void)0
#define CODE_TO_FUNCTION_POINTER(code) (void)0 #define CODE_TO_FUNCTION_POINTER(code) (void)0

View File

@ -15,8 +15,6 @@ namespace factor {
#define FUNCTION_CODE_POINTER(ptr) ptr #define FUNCTION_CODE_POINTER(ptr) ptr
#define FUNCTION_TOC_POINTER(ptr) ptr #define FUNCTION_TOC_POINTER(ptr) ptr
#define UAP_STACK_POINTER_TYPE unsigned long
inline static unsigned int uap_fpu_status(void* uap) { inline static unsigned int uap_fpu_status(void* uap) {
union { union {
double as_double; double as_double;

View File

@ -24,8 +24,6 @@ namespace factor {
#define FUNCTION_TOC_POINTER(ptr) (function_descriptor_field((void*)ptr, 1)) #define FUNCTION_TOC_POINTER(ptr) (function_descriptor_field((void*)ptr, 1))
#define UAP_STACK_POINTER_TYPE unsigned long
inline static unsigned int uap_fpu_status(void* uap) { inline static unsigned int uap_fpu_status(void* uap) {
union { union {
double as_double; double as_double;

View File

@ -57,5 +57,4 @@ inline static void uap_clear_fpu_status(void* uap) {
#define FUNCTION_CODE_POINTER(ptr) ptr #define FUNCTION_CODE_POINTER(ptr) ptr
#define FUNCTION_TOC_POINTER(ptr) ptr #define FUNCTION_TOC_POINTER(ptr) ptr
#define UAP_STACK_POINTER_TYPE greg_t
} }

View File

@ -25,8 +25,6 @@ inline static void uap_clear_fpu_status(void* uap) {
#define FUNCTION_CODE_POINTER(ptr) ptr #define FUNCTION_CODE_POINTER(ptr) ptr
#define FUNCTION_TOC_POINTER(ptr) ptr #define FUNCTION_TOC_POINTER(ptr) ptr
#define UAP_STACK_POINTER_TYPE greg_t
/* Must match the leaf-stack-frame-size, signal-handler-stack-frame-size, /* Must match the leaf-stack-frame-size, signal-handler-stack-frame-size,
and stack-frame-size constants in bootstrap/assembler/x86.64.unix.factor */ and stack-frame-size constants in bootstrap/assembler/x86.64.unix.factor */
static const unsigned LEAF_FRAME_SIZE = 16; static const unsigned LEAF_FRAME_SIZE = 16;

View File

@ -11,8 +11,6 @@ const char* default_image_path();
#define UAP_STACK_POINTER(ucontext) (((ucontext_t*)ucontext)->uc_stack.ss_sp) #define UAP_STACK_POINTER(ucontext) (((ucontext_t*)ucontext)->uc_stack.ss_sp)
#define UAP_SET_TOC_POINTER(uap, ptr) (void)0 #define UAP_SET_TOC_POINTER(uap, ptr) (void)0
#define UAP_STACK_POINTER_TYPE void*
#define CODE_TO_FUNCTION_POINTER(code) (void)0 #define CODE_TO_FUNCTION_POINTER(code) (void)0
#define CODE_TO_FUNCTION_POINTER_CALLBACK(vm, code) (void)0 #define CODE_TO_FUNCTION_POINTER_CALLBACK(vm, code) (void)0
#define FUNCTION_CODE_POINTER(ptr) ptr #define FUNCTION_CODE_POINTER(ptr) ptr