harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From var...@apache.org
Subject svn commit: r502588 - /harmony/enhanced/drlvm/trunk/vm/jitrino/src/codegenerator/ia32/Ia32CgUtils.cpp
Date Fri, 02 Feb 2007 12:18:34 GMT
Author: varlax
Date: Fri Feb  2 04:18:34 2007
New Revision: 502588

URL: http://svn.apache.org/viewvc?view=rev&rev=502588
Log:
Applied HARMONY-3109 [drlvm][jit][opt] javax.swing.plaf.UIResourceTest fails with Jitrino.OPT,
but passes on pure JET

Modified:
    harmony/enhanced/drlvm/trunk/vm/jitrino/src/codegenerator/ia32/Ia32CgUtils.cpp

Modified: harmony/enhanced/drlvm/trunk/vm/jitrino/src/codegenerator/ia32/Ia32CgUtils.cpp
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/vm/jitrino/src/codegenerator/ia32/Ia32CgUtils.cpp?view=diff&rev=502588&r1=502587&r2=502588
==============================================================================
--- harmony/enhanced/drlvm/trunk/vm/jitrino/src/codegenerator/ia32/Ia32CgUtils.cpp (original)
+++ harmony/enhanced/drlvm/trunk/vm/jitrino/src/codegenerator/ia32/Ia32CgUtils.cpp Fri Feb
 2 04:18:34 2007
@@ -127,7 +127,7 @@
 bool OpndUtils::isFPConst(const Opnd* op, double dVal)
 {
     const void* addr = extractAddrOfConst(op);
-    return (addr == NULL) ? false : (dVal == *(const float*)addr);
+    return (addr == NULL) ? false : (dVal == *(const double*)addr);
 }
 
 bool OpndUtils::isFPConst(const Opnd* op, float fVal)



Mime
View raw message