harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dlyd...@apache.org
Subject svn commit: r391510 - /incubator/harmony/enhanced/trunk/sandbox/contribs/bootjvm/bootJVM/jvm/src/opcode.h
Date Wed, 05 Apr 2006 05:18:39 GMT
Author: dlydick
Date: Tue Apr  4 22:18:37 2006
New Revision: 391510

URL: http://svn.apache.org/viewcvs?rev=391510&view=rev
Log:
Added OPCODE_COUNT to calculate total number of opcodes.

Corrected some array logic.

Modified:
    incubator/harmony/enhanced/trunk/sandbox/contribs/bootjvm/bootJVM/jvm/src/opcode.h

Modified: incubator/harmony/enhanced/trunk/sandbox/contribs/bootjvm/bootJVM/jvm/src/opcode.h
URL: http://svn.apache.org/viewcvs/incubator/harmony/enhanced/trunk/sandbox/contribs/bootjvm/bootJVM/jvm/src/opcode.h?rev=391510&r1=391509&r2=391510&view=diff
==============================================================================
--- incubator/harmony/enhanced/trunk/sandbox/contribs/bootjvm/bootJVM/jvm/src/opcode.h (original)
+++ incubator/harmony/enhanced/trunk/sandbox/contribs/bootjvm/bootJVM/jvm/src/opcode.h Tue
Apr  4 22:18:37 2006
@@ -336,6 +336,9 @@
 #define OPCODE_FE_IMPDEP1         0xfe /**< 254 (0xfe) impdep1 */
 #define OPCODE_FF_IMPDEP2         0xff /**< 255 (0xff) impdep2 */
 
+#define OPCODE_COUNT              1 + OPCODE_FF_IMPDEP2 /**< 256
+                                                        total opcodes */
+
 /*@} */ /* End of grouped definitions */
 
 



Mime
View raw message