You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by dl...@apache.org on 2006/04/05 07:18:39 UTC

svn commit: r391510 - /incubator/harmony/enhanced/trunk/sandbox/contribs/bootjvm/bootJVM/jvm/src/opcode.h

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 */