harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From arc...@apache.org
Subject svn commit: r365409 - /incubator/harmony/enhanced/trunk/sandbox/contribs/jchevm/jchevm/tools/cfdump/main.c
Date Mon, 02 Jan 2006 19:42:49 GMT
Author: archie
Date: Mon Jan  2 11:42:47 2006
New Revision: 365409

URL: http://svn.apache.org/viewcvs?rev=365409&view=rev
Log:
Report exception bounds with the end as the first instruction past the
exception range, rather than the last instruction in the range, to be
consistent with the Java bytecode format.

Modified:
    incubator/harmony/enhanced/trunk/sandbox/contribs/jchevm/jchevm/tools/cfdump/main.c

Modified: incubator/harmony/enhanced/trunk/sandbox/contribs/jchevm/jchevm/tools/cfdump/main.c
URL: http://svn.apache.org/viewcvs/incubator/harmony/enhanced/trunk/sandbox/contribs/jchevm/jchevm/tools/cfdump/main.c?rev=365409&r1=365408&r2=365409&view=diff
==============================================================================
--- incubator/harmony/enhanced/trunk/sandbox/contribs/jchevm/jchevm/tools/cfdump/main.c (original)
+++ incubator/harmony/enhanced/trunk/sandbox/contribs/jchevm/jchevm/tools/cfdump/main.c Mon
Jan  2 11:42:47 2006
@@ -15,7 +15,7 @@
  *  See the License for the specific language governing permissions and
  *  limitations under the License.
  *
- * $Id: main.c,v 1.10 2005/03/28 15:12:58 archiecobbs Exp $
+ * $Id$
  */
 
 #include "cfdump.h"
@@ -429,7 +429,7 @@
 			snprintf(bufs[0], sizeof(bufs[0]),
 			    "[%d]", trap->start);
 			snprintf(bufs[1], sizeof(bufs[1]),
-			    "[%d]", trap->end - 1);
+			    "[%d]", trap->end);
 			snprintf(bufs[2], sizeof(bufs[2]),
 			    "[%d]", trap->target);
 			printf("\t\t%-6s.. %-6s -> %-6s %s\n",



Mime
View raw message