From: twisti Date: Thu, 17 Feb 2005 11:41:05 +0000 (+0000) Subject: Don't declare float/double functions on xdspcore (prevent warnings). X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=commitdiff_plain;h=b39cbcde04d30e6303d737f60c4041afe917224a;p=cacao.git Don't declare float/double functions on xdspcore (prevent warnings). --- diff --git a/src/vm/jit/codegen.inc b/src/vm/jit/codegen.inc index 91ee55166..c5452afd9 100644 --- a/src/vm/jit/codegen.inc +++ b/src/vm/jit/codegen.inc @@ -47,7 +47,7 @@ memory. All functions writing values into the data area return the offset relative the begin of the code area (start of procedure). - $Id: codegen.inc 1828 2004-12-29 12:58:30Z twisti $ + $Id: codegen.inc 1951 2005-02-17 11:41:05Z twisti $ */ @@ -314,6 +314,7 @@ static s4 dseg_adds8(codegendata *cd, s8 value) #endif +#if !defined(__XDSPCORE__) static s4 dseg_addfloat_increase(codegendata *cd, float value) { dseg_increase(cd); @@ -364,6 +365,7 @@ static s4 dseg_adddouble(codegendata *cd, double value) return -(cd->dseglen); } +#endif /* !defined(__XDSPCORE__) */ static void dseg_addtarget(codegendata *cd, basicblock *target)