harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From var...@apache.org
Subject svn commit: r658203 - in /harmony/enhanced/drlvm/trunk/vm/jitrino/src: optimizer/IRBuilder.cpp translator/TranslatorIntfc.cpp
Date Tue, 20 May 2008 11:09:06 GMT
Author: varlax
Date: Tue May 20 04:09:06 2008
New Revision: 658203

URL: http://svn.apache.org/viewvc?rev=658203&view=rev
Log:
Enable lazy resolution on X86-64 arch

Modified:
    harmony/enhanced/drlvm/trunk/vm/jitrino/src/optimizer/IRBuilder.cpp
    harmony/enhanced/drlvm/trunk/vm/jitrino/src/translator/TranslatorIntfc.cpp

Modified: harmony/enhanced/drlvm/trunk/vm/jitrino/src/optimizer/IRBuilder.cpp
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/vm/jitrino/src/optimizer/IRBuilder.cpp?rev=658203&r1=658202&r2=658203&view=diff
==============================================================================
--- harmony/enhanced/drlvm/trunk/vm/jitrino/src/optimizer/IRBuilder.cpp (original)
+++ harmony/enhanced/drlvm/trunk/vm/jitrino/src/optimizer/IRBuilder.cpp Tue May 20 04:09:06
2008
@@ -1994,7 +1994,7 @@
     args[1] = genLdConstant((int)cpIndex);
     args[2] = genLdConstant((int)putfield?1:0);
     Opnd* offsetOpnd = genVMHelperCall(VM_RT_GET_NONSTATIC_FIELD_OFFSET_WITHRESOLVE, 
-                                    typeManager->getInt32Type(), 3, args);
+                                    typeManager->getIntPtrType(), 3, args);
     insertHash(Op_VMHelperCall, opcode, base->getId(), cpIndex, dst->getInst());
 
     //2. adding the offset to object opnd -> getting the address of the field

Modified: harmony/enhanced/drlvm/trunk/vm/jitrino/src/translator/TranslatorIntfc.cpp
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/vm/jitrino/src/translator/TranslatorIntfc.cpp?rev=658203&r1=658202&r2=658203&view=diff
==============================================================================
--- harmony/enhanced/drlvm/trunk/vm/jitrino/src/translator/TranslatorIntfc.cpp (original)
+++ harmony/enhanced/drlvm/trunk/vm/jitrino/src/translator/TranslatorIntfc.cpp Tue May 20
04:09:06 2008
@@ -125,7 +125,7 @@
     flags.genMinMaxAbs = getBoolArg("genMinMaxAbs", false);
     flags.genFMinMaxAbs = getBoolArg("genFMinMaxAbs", false);
 
-#ifdef _IA32_ 
+#ifndef _IPF_ 
     bool defaultIsLazy = true;
 #else
     bool defaultIsLazy = false;



Mime
View raw message