diff options
author | John van Groningen | 2006-04-25 13:54:40 +0000 |
---|---|---|
committer | John van Groningen | 2006-04-25 13:54:40 +0000 |
commit | d1547f6b3638ba675d8ef28837e526d456b1cb58 (patch) | |
tree | c04b4a365d81a781a358910068b5fbc10bdf9d52 /cgcode.c | |
parent | optimize apply with >1 arguments (diff) |
enable NO_STRING_ADDRESS_IN_DESCRIPTOR for sparc
Diffstat (limited to 'cgcode.c')
-rw-r--r-- | cgcode.c | 12 |
1 files changed, 7 insertions, 5 deletions
@@ -7,7 +7,9 @@ #include <stdio.h> #include <string.h> -#define NO_STRING_ADDRES_IN_DESCRIPTOR +#if defined (G_POWER) || defined (I486) || defined (sparc) +# define NO_STRING_ADDRESS_IN_DESCRIPTOR +#endif #undef NO_FUNCTION_NAMES #undef NO_CONSTRUCTOR_NAMES @@ -82,7 +84,7 @@ # define ARITY_0_DESCRIPTOR_OFFSET (-4) # endif #else -# if defined (M68000) || (defined (NO_STRING_ADDRES_IN_DESCRIPTOR) && (defined (G_POWER) || defined (I486))) +# if defined (M68000) || defined (NO_STRING_ADDRESS_IN_DESCRIPTOR) # ifdef G_A64 # define ARITY_0_DESCRIPTOR_OFFSET (-12) # else @@ -95,7 +97,7 @@ #ifdef GEN_MAC_OBJ # define DESCRIPTOR_ARITY_OFFSET (-4) #else -# if defined (NO_STRING_ADDRES_IN_DESCRIPTOR) && (defined (G_POWER) || defined (I486)) +# if defined (NO_STRING_ADDRESS_IN_DESCRIPTOR) # define DESCRIPTOR_ARITY_OFFSET (-2) # else # define DESCRIPTOR_ARITY_OFFSET (-6) @@ -8294,7 +8296,7 @@ static void code_descriptor (char label_name[],char node_entry_label_name[],char } #endif -#if ! (defined (NO_STRING_ADDRES_IN_DESCRIPTOR) && (defined (G_POWER) || defined (I486))) +#if ! defined (NO_STRING_ADDRESS_IN_DESCRIPTOR) # ifdef GEN_MAC_OBJ store_label_offset_in_data_section (string_code_label_id); # else @@ -8514,7 +8516,7 @@ void code_descs (char label_name[],char node_entry_label_name[],char *result_des w_as_descriptor_in_data_section (result_descriptor_label->label_name); } -#if ! (defined (NO_STRING_ADDRES_IN_DESCRIPTOR) && (defined (G_POWER) || defined (I486))) +#if ! defined (NO_STRING_ADDRESS_IN_DESCRIPTOR) # ifdef GEN_OBJ store_label_in_data_section (string_label); # endif |