harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chunr...@apache.org
Subject svn commit: r709893 - /harmony/enhanced/drlvm/trunk/vm/jitrino/src/optimizer/escanalyzer.cpp
Date Sun, 02 Nov 2008 16:13:48 GMT
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());



Mime
View raw message