]> gitweb.factorcode.org Git - factor.git/commitdiff
VM: an unused #define we can eliminate
authorBjörn Lindqvist <bjourne@gmail.com>
Fri, 7 Aug 2015 15:47:15 +0000 (17:47 +0200)
committerJohn Benediktsson <mrjbq7@gmail.com>
Sat, 15 Aug 2015 03:19:50 +0000 (20:19 -0700)
vm/os-linux-arm.hpp
vm/os-linux-ppc.32.hpp
vm/os-linux-ppc.64.hpp
vm/os-linux-x86.32.hpp
vm/os-linux-x86.64.hpp
vm/os-macosx.hpp

index de0fea20d7f342f397043f2a905154c1b195dc9d..330a1f9471ac22ce6369fd9914d9d510c5737909 100644 (file)
@@ -10,7 +10,6 @@ void flush_icache(cell start, cell len);
   (((ucontext_t*)ucontext)->uc_mcontext.arm_sp)
 #define UAP_PROGRAM_COUNTER(ucontext) \
   (((ucontext_t*)ucontext)->uc_mcontext.arm_pc)
-#define UAP_STACK_POINTER_TYPE greg_t
 #define UAP_SET_TOC_POINTER(uap, ptr) (void)0
 
 #define CODE_TO_FUNCTION_POINTER(code) (void)0
index 8b3df761cb68fc0cc53716ccf37aa17576ee6d96..68ac53bc2933d51d81ca831de37d8a6c6137c1c1 100644 (file)
@@ -15,8 +15,6 @@ namespace factor {
 #define FUNCTION_CODE_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) {
   union {
     double as_double;
index cd76a010483d09721203f58edef9d846ce756b00..634a5d7896873296d6e338618d433be9d7ae784f 100644 (file)
@@ -24,8 +24,6 @@ namespace factor {
 
 #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) {
   union {
     double as_double;
index 16319086ab3508ed72f07c06091fc5ada8d85ff9..9e08914c3284e6bf7b3e09ee0b1f8807b7b9c854 100644 (file)
@@ -57,5 +57,4 @@ inline static void uap_clear_fpu_status(void* uap) {
 #define FUNCTION_CODE_POINTER(ptr) ptr
 #define FUNCTION_TOC_POINTER(ptr) ptr
 
-#define UAP_STACK_POINTER_TYPE greg_t
 }
index 614e9420f8c8dd03c0ee53b3d34aded50780b214..6ec15e7ed9708ed11b4d9956ce1367a9accd1ec0 100644 (file)
@@ -25,8 +25,6 @@ inline static void uap_clear_fpu_status(void* uap) {
 #define FUNCTION_CODE_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,
 and stack-frame-size constants in bootstrap/assembler/x86.64.unix.factor */
 static const unsigned LEAF_FRAME_SIZE = 16;
index 30e50ba0a01679e94a70162179c02135e048daf8..6c3d84d16803f53118aa26404228004c27582baa 100644 (file)
@@ -11,8 +11,6 @@ const char* default_image_path();
 #define UAP_STACK_POINTER(ucontext) (((ucontext_t*)ucontext)->uc_stack.ss_sp)
 #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_CALLBACK(vm, code) (void)0
 #define FUNCTION_CODE_POINTER(ptr) ptr