Mercurial > hg > CbC > old > device
changeset 907:cccef9d74932
minor fix
author | kono |
---|---|
date | Wed, 09 Apr 2014 11:40:06 +0900 |
parents | b9d8ad7ea0ad |
children | 0df95413f583 |
files | mc-code-i64.c mc-parse.c |
diffstat | 2 files changed, 5 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mc-code-i64.c Wed Apr 09 11:34:58 2014 +0900 +++ b/mc-code-i64.c Wed Apr 09 11:40:06 2014 +0900 @@ -2658,7 +2658,11 @@ code_jmp(char *s) { max_reg_var = REG_VAR_BASE-REG_VAR_MIN; max_freg_var = FREG_VAR_BASE-FREG_VAR_MIN; +#ifdef __APPLE__ printf("\tjmp _%s\n",s); +#else + printf("\tjmp %s\n",s); +#endif }
--- a/mc-parse.c Wed Apr 09 11:34:58 2014 +0900 +++ b/mc-parse.c Wed Apr 09 11:40:06 2014 +0900 @@ -51,7 +51,7 @@ extern double strtod(const char *nptr, char **endptr); #endif -int parse_mode = 0; // generate parse tree for all code +int parse_mode = 1; // generate parse tree for all code static int HEAP_REPORT = 0; static int lfree_type_limit; // debugging purpose