Return-Path: Delivered-To: apmail-incubator-harmony-commits-archive@www.apache.org Received: (qmail 3805 invoked from network); 14 Oct 2006 13:23:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 14 Oct 2006 13:23:14 -0000 Received: (qmail 24823 invoked by uid 500); 14 Oct 2006 13:23:14 -0000 Delivered-To: apmail-incubator-harmony-commits-archive@incubator.apache.org Received: (qmail 24718 invoked by uid 500); 14 Oct 2006 13:23:13 -0000 Mailing-List: contact harmony-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: harmony-dev@incubator.apache.org Delivered-To: mailing list harmony-commits@incubator.apache.org Received: (qmail 24705 invoked by uid 99); 14 Oct 2006 13:23:13 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 14 Oct 2006 06:23:13 -0700 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [140.211.166.113] (HELO eris.apache.org) (140.211.166.113) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 14 Oct 2006 06:23:12 -0700 Received: by eris.apache.org (Postfix, from userid 65534) id BE9701A981A; Sat, 14 Oct 2006 06:22:52 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r463928 - /incubator/harmony/enhanced/drlvm/trunk/vm/jitrino/src/optimizer/simplifier.cpp Date: Sat, 14 Oct 2006 13:22:52 -0000 To: harmony-commits@incubator.apache.org From: geirm@apache.org X-Mailer: svnmailer-1.1.0 Message-Id: <20061014132252.BE9701A981A@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: geirm Date: Sat Oct 14 06:22:51 2006 New Revision: 463928 URL: http://svn.apache.org/viewvc?view=rev&rev=463928 Log: HARMONY-1781 This cause the following classlib test failures org.apache.harmony.tests.java.math.BigDecimalArithmeticTest and tests.api.java.math.BigDecimalTest. Ubuntu 6 - smoke, c-unit, ~kernel, testcase Modified: incubator/harmony/enhanced/drlvm/trunk/vm/jitrino/src/optimizer/simplifier.cpp Modified: incubator/harmony/enhanced/drlvm/trunk/vm/jitrino/src/optimizer/simplifier.cpp URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/drlvm/trunk/vm/jitrino/src/optimizer/simplifier.cpp?view=diff&rev=463928&r1=463927&r2=463928 ============================================================================== --- incubator/harmony/enhanced/drlvm/trunk/vm/jitrino/src/optimizer/simplifier.cpp (original) +++ incubator/harmony/enhanced/drlvm/trunk/vm/jitrino/src/optimizer/simplifier.cpp Sat Oct 14 06:22:51 2006 @@ -605,7 +605,7 @@ Opnd* constSrc = fold(Op_Add, type, constInst1, constInst2, true); // (C1+C2)-s return genSub(type, Modifier(Overflow_None)|Modifier(Exception_Never)|Modifier(Strict_No), - nonConstSrc, constSrc)->getDst(); + constSrc, nonConstSrc)->getDst(); } } if (isAddWithConstant(nonConstInst)) {