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);
}
};
|