You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by ge...@apache.org on 2005/10/10 15:40:00 UTC
svn commit: r312645 -
/incubator/harmony/enhanced/trunk/sandbox/contribs/bootjvm/bootJVM/jvm/src/bytegames.c
Author: geirm
Date: Mon Oct 10 06:39:59 2005
New Revision: 312645
URL: http://svn.apache.org/viewcvs?rev=312645&view=rev
Log:
switch to using the internal bytegames_swapX rather
than the platform specific swap2 and swap4
Modified:
incubator/harmony/enhanced/trunk/sandbox/contribs/bootjvm/bootJVM/jvm/src/bytegames.c
Modified: incubator/harmony/enhanced/trunk/sandbox/contribs/bootjvm/bootJVM/jvm/src/bytegames.c
URL: http://svn.apache.org/viewcvs/incubator/harmony/enhanced/trunk/sandbox/contribs/bootjvm/bootJVM/jvm/src/bytegames.c?rev=312645&r1=312644&r2=312645&view=diff
==============================================================================
--- incubator/harmony/enhanced/trunk/sandbox/contribs/bootjvm/bootJVM/jvm/src/bytegames.c (original)
+++ incubator/harmony/enhanced/trunk/sandbox/contribs/bootjvm/bootJVM/jvm/src/bytegames.c Mon Oct 10 06:39:59 2005
@@ -240,7 +240,7 @@
wholeval._byteval.b = *ptr1;
#ifdef ARCH_LITTLE_ENDIAN
- wholeval._usval = swap2(wholeval._usval);
+ wholeval._usval = bytegames_swap2(wholeval._usval);
#endif
return(wholeval._usval);
@@ -274,7 +274,7 @@
wholeval._usval = val2;
#ifdef ARCH_LITTLE_ENDIAN
- wholeval._usval = swap2(wholeval._usval);
+ wholeval._usval = bytegames_swap2(wholeval._usval);
#endif
*ptr1++ = wholeval._byteval.a;
@@ -311,7 +311,7 @@
wholeval._byteval.d = *ptr1;
#ifdef ARCH_LITTLE_ENDIAN
- wholeval._ruival = swap4(wholeval._ruival);
+ wholeval._ruival = bytegames_swap4(wholeval._ruival);
#endif
return(wholeval._ruival);
@@ -345,7 +345,7 @@
wholeval._ruival = val4;
#ifdef ARCH_LITTLE_ENDIAN
- wholeval._ruival = swap4(wholeval._ruival);
+ wholeval._ruival = bytegames_swap4(wholeval._ruival);
#endif
*ptr1++ = wholeval._byteval.a;