harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From var...@apache.org
Subject svn commit: r538895 - in /harmony/enhanced/drlvm/trunk/vm/jitrino/src: codegenerator/ipf/include/IpfCodeSelector.h translator/java/JavaByteCodeTranslator.cpp
Date Thu, 17 May 2007 12:50:47 GMT
Author: varlax
Date: Thu May 17 05:50:46 2007
New Revision: 538895

URL: http://svn.apache.org/viewvc?view=rev&rev=538895
Log:
Applied HARMONY-3872 [drlvm][jit][opt] ArrayCopy optimization does not insert pseudoThrow
insts in loops

Modified:
    harmony/enhanced/drlvm/trunk/vm/jitrino/src/codegenerator/ipf/include/IpfCodeSelector.h
    harmony/enhanced/drlvm/trunk/vm/jitrino/src/translator/java/JavaByteCodeTranslator.cpp

Modified: harmony/enhanced/drlvm/trunk/vm/jitrino/src/codegenerator/ipf/include/IpfCodeSelector.h
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/vm/jitrino/src/codegenerator/ipf/include/IpfCodeSelector.h?view=diff&rev=538895&r1=538894&r2=538895
==============================================================================
--- harmony/enhanced/drlvm/trunk/vm/jitrino/src/codegenerator/ipf/include/IpfCodeSelector.h
(original)
+++ harmony/enhanced/drlvm/trunk/vm/jitrino/src/codegenerator/ipf/include/IpfCodeSelector.h
Thu May 17 05:50:46 2007
@@ -314,7 +314,7 @@
     CG_OpndHandle* arraycopy(unsigned int, CG_OpndHandle**);
     CG_OpndHandle* addElemIndexWithLEA(Type*, CG_OpndHandle*, CG_OpndHandle*) { NOT_IMPLEMENTED_C("addElemIndexWithLEA")
}
     CG_OpndHandle* ldRef(Type*, MethodDesc*, unsigned int, bool); 
-    void           pseudoInst()                                               { NOT_IMPLEMENTED_V("pseudoInst")
}
+    void           pseudoInst()                                               {}
     void           methodEntry(MethodDesc*);
     void           methodEnd(MethodDesc*, CG_OpndHandle*);
     void           tau_stRef(CG_OpndHandle*, CG_OpndHandle*, CG_OpndHandle*, Type::Tag, bool,
CG_OpndHandle*, CG_OpndHandle*, CG_OpndHandle*) { NOT_IMPLEMENTED_V("tau_stRef") }

Modified: harmony/enhanced/drlvm/trunk/vm/jitrino/src/translator/java/JavaByteCodeTranslator.cpp
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/vm/jitrino/src/translator/java/JavaByteCodeTranslator.cpp?view=diff&rev=538895&r1=538894&r2=538895
==============================================================================
--- harmony/enhanced/drlvm/trunk/vm/jitrino/src/translator/java/JavaByteCodeTranslator.cpp
(original)
+++ harmony/enhanced/drlvm/trunk/vm/jitrino/src/translator/java/JavaByteCodeTranslator.cpp
Thu May 17 05:50:46 2007
@@ -3161,6 +3161,7 @@
     irBuilder.genStVar(dstPosVar, dstPosOpnd);
 
     // back edge
+    irBuilder.genPseudoThrow();
     irBuilder.genJump(loopHead);
     
     }   // End of Direct Copying
@@ -3221,6 +3222,7 @@
     irBuilder.genStVar(dstPosVar, dstPosOpnd);
 
     // back edge
+    irBuilder.genPseudoThrow();
     irBuilder.genJump(loopHead);
 
     }   // End of Reverse Copying



Mime
View raw message