harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gshiman...@apache.org
Subject svn commit: r511861 - /harmony/enhanced/drlvm/trunk/vm/gc_gen/src/gen/gen_adapt.cpp
Date Mon, 26 Feb 2007 15:45:42 GMT
Author: gshimansky
Date: Mon Feb 26 07:45:42 2007
New Revision: 511861

URL: http://svn.apache.org/viewvc?view=rev&rev=511861
Log:
Fixed compilation on windows ia32 in release mode


Modified:
    harmony/enhanced/drlvm/trunk/vm/gc_gen/src/gen/gen_adapt.cpp

Modified: harmony/enhanced/drlvm/trunk/vm/gc_gen/src/gen/gen_adapt.cpp
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/vm/gc_gen/src/gen/gen_adapt.cpp?view=diff&rev=511861&r1=511860&r2=511861
==============================================================================
--- harmony/enhanced/drlvm/trunk/vm/gc_gen/src/gen/gen_adapt.cpp (original)
+++ harmony/enhanced/drlvm/trunk/vm/gc_gen/src/gen/gen_adapt.cpp Mon Feb 26 07:45:42 2007
@@ -319,7 +319,7 @@
 }
 
 // this function is added to disambiguate on windows/em64t calls to asm() below 
-POINTER_SIZE_SINT abs(POINTER_SIZE_SINT x) 
+POINTER_SIZE_SINT POINTER_SIZE_abs(POINTER_SIZE_SINT x) 
 {
     return x<0?-x:x;    
 }
@@ -344,7 +344,7 @@
 
   POINTER_SIZE_INT curr_nos_size = space_committed_size((Space*)fspace);
 
-  if( abs((POINTER_SIZE_SINT)new_nos_size - (POINTER_SIZE_SINT)curr_nos_size) < NOS_COPY_RESERVE_DELTA
)
+  if( POINTER_SIZE_abs((POINTER_SIZE_SINT)new_nos_size - (POINTER_SIZE_SINT)curr_nos_size)
< NOS_COPY_RESERVE_DELTA )
     return;
   
   /* below are ajustment */  
@@ -396,7 +396,7 @@
   
   POINTER_SIZE_INT curr_nos_size = space_committed_size((Space*)fspace);
 
-  if( abs((POINTER_SIZE_SINT)new_nos_size - (POINTER_SIZE_SINT)curr_nos_size) < NOS_COPY_RESERVE_DELTA
)
+  if( POINTER_SIZE_abs((POINTER_SIZE_SINT)new_nos_size - (POINTER_SIZE_SINT)curr_nos_size)
< NOS_COPY_RESERVE_DELTA )
     return;
       
   POINTER_SIZE_INT used_mos_size = space_used_memory_size((Blocked_Space*)mspace);  



Mime
View raw message