harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From arc...@apache.org
Subject svn commit: r378785 - in /incubator/harmony/enhanced/jchevm/libjc: misc.c tables.c
Date Sat, 18 Feb 2006 21:41:55 GMT
Author: archie
Date: Sat Feb 18 13:41:53 2006
New Revision: 378785

URL: http://svn.apache.org/viewcvs?rev=378785&view=rev
Log:
Update some comments.

Modified:
    incubator/harmony/enhanced/jchevm/libjc/misc.c
    incubator/harmony/enhanced/jchevm/libjc/tables.c

Modified: incubator/harmony/enhanced/jchevm/libjc/misc.c
URL: http://svn.apache.org/viewcvs/incubator/harmony/enhanced/jchevm/libjc/misc.c?rev=378785&r1=378784&r2=378785&view=diff
==============================================================================
--- incubator/harmony/enhanced/jchevm/libjc/misc.c (original)
+++ incubator/harmony/enhanced/jchevm/libjc/misc.c Sat Feb 18 13:41:53 2006
@@ -337,8 +337,9 @@
 }
 
 /*
- * Compare two _jc_field **'s, sorting in the same way as
- * org.dellroad.jc.cgen.Util.fieldComparator.
+ * Sorts fields by staticness, type, name, then signature.
+ * In particular, fields with more stringent alignment requirements
+ * will be sorted earlier.
  */
 int
 _jc_field_compare(const void *v1, const void *v2)
@@ -361,8 +362,7 @@
 }
 
 /*
- * Compare two _jc_method **'s, sorting in the same way as
- * org.dellroad.jc.cgen.Util.methodComparator.
+ * Sorts methods by name, then signature.
  */
 int
 _jc_method_compare(const void *v1, const void *v2)

Modified: incubator/harmony/enhanced/jchevm/libjc/tables.c
URL: http://svn.apache.org/viewcvs/incubator/harmony/enhanced/jchevm/libjc/tables.c?rev=378785&r1=378784&r2=378785&view=diff
==============================================================================
--- incubator/harmony/enhanced/jchevm/libjc/tables.c (original)
+++ incubator/harmony/enhanced/jchevm/libjc/tables.c Sat Feb 18 13:41:53 2006
@@ -192,7 +192,7 @@
 /*
  * Field sorting order.
  *
- * This must sort the same as org.dellroad.jc.cgen.Util.OrderTypeSwitch.
+ * Fields with more stringent alignment requirements are sorted earlier.
  */
 const int _jc_field_type_sort[_JC_TYPE_MAX] = {
 	[_JC_TYPE_BOOLEAN]=	4,



Mime
View raw message