harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From arc...@apache.org
Subject svn commit: r366029 - in /incubator/harmony/enhanced/trunk/sandbox/contribs/jchevm/jchevm: include/jc_defs.h libjc/interp.c
Date Wed, 04 Jan 2006 23:34:53 GMT
Author: archie
Date: Wed Jan  4 15:34:49 2006
New Revision: 366029

URL: http://svn.apache.org/viewcvs?rev=366029&view=rev
Log:
Remove unnecessary macro argument.

Modified:
    incubator/harmony/enhanced/trunk/sandbox/contribs/jchevm/jchevm/include/jc_defs.h
    incubator/harmony/enhanced/trunk/sandbox/contribs/jchevm/jchevm/libjc/interp.c

Modified: incubator/harmony/enhanced/trunk/sandbox/contribs/jchevm/jchevm/include/jc_defs.h
URL: http://svn.apache.org/viewcvs/incubator/harmony/enhanced/trunk/sandbox/contribs/jchevm/jchevm/include/jc_defs.h?rev=366029&r1=366028&r2=366029&view=diff
==============================================================================
--- incubator/harmony/enhanced/trunk/sandbox/contribs/jchevm/jchevm/include/jc_defs.h (original)
+++ incubator/harmony/enhanced/trunk/sandbox/contribs/jchevm/jchevm/include/jc_defs.h Wed
Jan  4 15:34:49 2006
@@ -536,7 +536,7 @@
 /*
  * Conversion from floating point -> integral types.
  */
-#define _JC_CAST_FLT2INT(env, vtype, ctype, value)			\
+#define _JC_CAST_FLT2INT(vtype, ctype, value)				\
     ({									\
 	const vtype _val = (value);					\
 	const ctype _min = (ctype)(_JC_JLONG(1)				\

Modified: incubator/harmony/enhanced/trunk/sandbox/contribs/jchevm/jchevm/libjc/interp.c
URL: http://svn.apache.org/viewcvs/incubator/harmony/enhanced/trunk/sandbox/contribs/jchevm/jchevm/libjc/interp.c?rev=366029&r1=366028&r2=366029&view=diff
==============================================================================
--- incubator/harmony/enhanced/trunk/sandbox/contribs/jchevm/jchevm/libjc/interp.c (original)
+++ incubator/harmony/enhanced/trunk/sandbox/contribs/jchevm/jchevm/libjc/interp.c Wed Jan
 4 15:34:49 2006
@@ -539,10 +539,10 @@
 	NEXT();
 TARGET(d2i)
 	POP(1);
-	STACKI(-1) = _JC_CAST_FLT2INT(env, jdouble, jint, STACKD(-1));
+	STACKI(-1) = _JC_CAST_FLT2INT(jdouble, jint, STACKD(-1));
 	NEXT();
 TARGET(d2l)
-	STACKJ(-2) = _JC_CAST_FLT2INT(env, jdouble, jlong, STACKD(-2));
+	STACKJ(-2) = _JC_CAST_FLT2INT(jdouble, jlong, STACKD(-2));
 	NEXT();
 TARGET(dadd)
 	POP2(1);
@@ -652,11 +652,11 @@
 	STACKD(-2) = STACKF(-2);
 	NEXT();
 TARGET(f2i)
-	STACKI(-1) = _JC_CAST_FLT2INT(env, jfloat, jint, STACKF(-1));
+	STACKI(-1) = _JC_CAST_FLT2INT(jfloat, jint, STACKF(-1));
 	NEXT();
 TARGET(f2l)
 	POP(-1);
-	STACKJ(-2) = _JC_CAST_FLT2INT(env, jfloat, jlong, STACKF(-2));
+	STACKJ(-2) = _JC_CAST_FLT2INT(jfloat, jlong, STACKF(-2));
 	NEXT();
 TARGET(fadd)
 	POP(1);



Mime
View raw message