Mercurial > hg > CbC > old > device
changeset 535:c17f1ef0d2be
*** empty log message ***
author | kono |
---|---|
date | Sat, 31 Dec 2005 03:14:03 +0900 |
parents | 0f24e1dba811 |
children | a349f9c2aef5 |
files | .gdbinit mc-code-mips.c |
diffstat | 2 files changed, 4 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/.gdbinit Sat Dec 31 01:25:25 2005 +0900 +++ b/.gdbinit Sat Dec 31 03:14:03 2005 +0900 @@ -42,4 +42,5 @@ # run -s test/code-gen-all.c # run -s test/tmp7.c # run -s test/inline.c -run -s test/code-gen-inline.c +# run -s test/code-gen-inline.c +run -s -DINLINE=inline test/basic.c
--- a/mc-code-mips.c Sat Dec 31 01:25:25 2005 +0900 +++ b/mc-code-mips.c Sat Dec 31 03:14:03 2005 +0900 @@ -681,7 +681,7 @@ for(i=0;i<freg_sp;i++) { if ((reg=freg_stack[i])>=0) { code_dassign_lvar( - (freg_stack[i]=new_lvar(SIZE_OF_DOUBLE)),reg,1); + (freg_stack[i]=new_lvar(SIZE_OF_FLOAT)),reg,0); freg_stack[i]= freg_stack[i]-REG_LVAR_OFFSET; return reg; } @@ -4269,7 +4269,7 @@ xreg=pop_fregister(); if (xreg<= -REG_LVAR_OFFSET) { reg = get_dregister(d); - code_drlvar(REG_LVAR_OFFSET+xreg,1,reg); + code_drlvar(REG_LVAR_OFFSET+xreg,0,reg); free_lvar(REG_LVAR_OFFSET+xreg); xreg=reg; }