You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by ch...@apache.org on 2008/11/02 17:13:48 UTC

svn commit: r709893 - /harmony/enhanced/drlvm/trunk/vm/jitrino/src/optimizer/escanalyzer.cpp

Author: chunrong
Date: Sun Nov  2 08:13:47 2008
New Revision: 709893

URL: http://svn.apache.org/viewvc?rev=709893&view=rev
Log:
Apply patch for HARMONY-5997 to fix failed escape analysis

Modified:
    harmony/enhanced/drlvm/trunk/vm/jitrino/src/optimizer/escanalyzer.cpp

Modified: harmony/enhanced/drlvm/trunk/vm/jitrino/src/optimizer/escanalyzer.cpp
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/vm/jitrino/src/optimizer/escanalyzer.cpp?rev=709893&r1=709892&r2=709893&view=diff
==============================================================================
--- harmony/enhanced/drlvm/trunk/vm/jitrino/src/optimizer/escanalyzer.cpp (original)
+++ harmony/enhanced/drlvm/trunk/vm/jitrino/src/optimizer/escanalyzer.cpp Sun Nov  2 08:13:47 2008
@@ -913,7 +913,7 @@
 
             case Op_LdVar:             // ldvar
                 type = inst->getDst()->getType();
-                if (type->isReference()) {
+                if (type->isReference()&&(!type->isUnmanagedPtr())) {
                     cgnode = findCnGNode_op(inst->getDst()->getId());
                     assert(cgnode!=NULL);
                     cgn_src=findCnGNode_op(inst->getSrc(0)->getId());