Mercurial > hg > CbC > old > device
changeset 826:313750f582dd
tmpb fixed.
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Sat, 27 Nov 2010 09:29:16 +0900 |
parents | 425768eb5e9e |
children | d7b3dc41972f |
files | mc-code-i64.c |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/mc-code-i64.c Sat Nov 27 06:12:45 2010 +0900 +++ b/mc-code-i64.c Sat Nov 27 09:29:16 2010 +0900 @@ -927,7 +927,7 @@ for(i=0;i<reg_sp;i++) { if ((reg=reg_stack[i])>=0) { code_assign_lvar( - (j=new_lvar(SIZE_OF_INT)),reg,0); + (j=new_lvar(SIZE_OF_LONGLONG)),reg,0); reg_stack[i]= j-REG_LVAR_OFFSET; regs_line[reg]=glineno; return reg; @@ -962,8 +962,8 @@ /* search register stack */ for(i=0;i<reg_sp;i++) { if (is_data_reg(i) && (reg=reg_stack[i])>=0) { - code_assign_lvar( - (j=new_lvar(SIZE_OF_INT)),reg,0); + code_dassign_lvar( + (j=new_lvar(SIZE_OF_DOUBLE)),reg,0); reg_stack[i]= j-REG_LVAR_OFFSET; regs_line[reg]=glineno; return reg;