harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gshiman...@apache.org
Subject svn commit: r605614 - /harmony/enhanced/drlvm/trunk/vm/jitrino/src/jet/cg_br.cpp
Date Wed, 19 Dec 2007 16:49:56 GMT
Author: gshimansky
Date: Wed Dec 19 08:49:55 2007
New Revision: 605614

URL: http://svn.apache.org/viewvc?rev=605614&view=rev
Log:
Applied patch from HARMONY-5309
[drlvm][jit][jet][EUT] 274 NPE in checkAndTagAsMalformed on Linux x86_64


Modified:
    harmony/enhanced/drlvm/trunk/vm/jitrino/src/jet/cg_br.cpp

Modified: harmony/enhanced/drlvm/trunk/vm/jitrino/src/jet/cg_br.cpp
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/vm/jitrino/src/jet/cg_br.cpp?rev=605614&r1=605613&r2=605614&view=diff
==============================================================================
--- harmony/enhanced/drlvm/trunk/vm/jitrino/src/jet/cg_br.cpp (original)
+++ harmony/enhanced/drlvm/trunk/vm/jitrino/src/jet/cg_br.cpp Wed Dec 19 08:49:55 2007
@@ -231,7 +231,7 @@
     // complex address form:
     //      [table + index*sizeof(void*) - low()*sizeof(void*)],
     // but only if low()*sizeof(void*) does fit into displacement ...
-    int tmp = -jinst.low()/sizeof(void*);
+    int tmp = -jinst.low();
     const int LO_BOUND = INT_MIN/(int)sizeof(void*);
     const int UP_BOUND = INT_MAX/(int)sizeof(void*);
     if (LO_BOUND<=tmp && tmp<=UP_BOUND) {



Mime
View raw message