harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dlyd...@apache.org
Subject svn commit: r406485 - in /incubator/harmony/enhanced/trunk/sandbox/contribs/bootjvm/bootJVM/jvm/src: cfmsgs.c jvmutil.c
Date Mon, 15 May 2006 00:52:46 GMT
Author: dlydick
Date: Sun May 14 17:52:45 2006
New Revision: 406485

URL: http://svn.apache.org/viewcvs?rev=406485&view=rev
Log:
Use (const) variable in place of define for null constant pool index.

Modified:
    incubator/harmony/enhanced/trunk/sandbox/contribs/bootjvm/bootJVM/jvm/src/cfmsgs.c
    incubator/harmony/enhanced/trunk/sandbox/contribs/bootjvm/bootJVM/jvm/src/jvmutil.c

Modified: incubator/harmony/enhanced/trunk/sandbox/contribs/bootjvm/bootJVM/jvm/src/cfmsgs.c
URL: http://svn.apache.org/viewcvs/incubator/harmony/enhanced/trunk/sandbox/contribs/bootjvm/bootJVM/jvm/src/cfmsgs.c?rev=406485&r1=406484&r2=406485&view=diff
==============================================================================
--- incubator/harmony/enhanced/trunk/sandbox/contribs/bootjvm/bootJVM/jvm/src/cfmsgs.c (original)
+++ incubator/harmony/enhanced/trunk/sandbox/contribs/bootjvm/bootJVM/jvm/src/cfmsgs.c Sun
May 14 17:52:45 2006
@@ -87,7 +87,7 @@
     jdouble  vald;
     rint     star_len, star_len2;
 
-    if (CONSTANT_CP_DEFAULT_INDEX == cpidx)
+    if (jvm_constant_pool_index_null == cpidx)
     {
         /*!
          * @todo  HARMONY-6-jvm-cfmsgs.c-1 Widen pointer format

Modified: incubator/harmony/enhanced/trunk/sandbox/contribs/bootjvm/bootJVM/jvm/src/jvmutil.c
URL: http://svn.apache.org/viewcvs/incubator/harmony/enhanced/trunk/sandbox/contribs/bootjvm/bootJVM/jvm/src/jvmutil.c?rev=406485&r1=406484&r2=406485&view=diff
==============================================================================
--- incubator/harmony/enhanced/trunk/sandbox/contribs/bootjvm/bootJVM/jvm/src/jvmutil.c (original)
+++ incubator/harmony/enhanced/trunk/sandbox/contribs/bootjvm/bootJVM/jvm/src/jvmutil.c Sun
May 14 17:52:45 2006
@@ -231,7 +231,7 @@
 
         if (jvm_attribute_index_bad == atridx)
         {
-            cpidx = CONSTANT_CP_DEFAULT_INDEX;
+            cpidx = jvm_constant_pool_index_null;
 
             star_len_src = 7; /* Length of "unknown" */
 



Mime
View raw message