harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gshiman...@apache.org
Subject svn commit: r599842 - /harmony/enhanced/drlvm/trunk/vm/jitrino/src/optimizer/osr.h
Date Fri, 30 Nov 2007 15:19:56 GMT
Author: gshimansky
Date: Fri Nov 30 07:19:52 2007
New Revision: 599842

URL: http://svn.apache.org/viewvc?rev=599842&view=rev
Log:
Fixed compilation errors on Linux x86_64 after 599804


Modified:
    harmony/enhanced/drlvm/trunk/vm/jitrino/src/optimizer/osr.h

Modified: harmony/enhanced/drlvm/trunk/vm/jitrino/src/optimizer/osr.h
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/vm/jitrino/src/optimizer/osr.h?rev=599842&r1=599841&r2=599842&view=diff
==============================================================================
--- harmony/enhanced/drlvm/trunk/vm/jitrino/src/optimizer/osr.h (original)
+++ harmony/enhanced/drlvm/trunk/vm/jitrino/src/optimizer/osr.h Fri Nov 30 07:19:52 2007
@@ -180,8 +180,8 @@
         SsaOpnd* ssa;
 
         bool operator<(OldInst other) const {
-            return ((uint32) type + (int) var + (int) ssa) <
-            ((uint32) other.type + (int) other.var + (int) other.ssa);
+            return ((POINTER_SIZE_INT) type + (POINTER_SIZE_SINT) var + (POINTER_SIZE_SINT)
ssa) <
+            ((POINTER_SIZE_INT) other.type + (POINTER_SIZE_SINT) other.var + (POINTER_SIZE_SINT)
other.ssa);
         }
     };
 



Mime
View raw message