harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From var...@apache.org
Subject svn commit: r501372 - in /harmony/enhanced/drlvm/trunk/vm: jitrino/src/codegenerator/ia32/Ia32InstCodeSelector.cpp vmcore/src/util/em64t/base/compile_em64t.cpp
Date Tue, 30 Jan 2007 11:29:49 GMT
Author: varlax
Date: Tue Jan 30 03:29:41 2007
New Revision: 501372

URL: http://svn.apache.org/viewvc?view=rev&rev=501372
Log:
Applied HARMONY-2881 [drlvm][em64t][jitrino] Jitrino doesn't support heap size >= 2Gb
Tested on SUSE9@x64

Modified:
    harmony/enhanced/drlvm/trunk/vm/jitrino/src/codegenerator/ia32/Ia32InstCodeSelector.cpp
    harmony/enhanced/drlvm/trunk/vm/vmcore/src/util/em64t/base/compile_em64t.cpp

Modified: harmony/enhanced/drlvm/trunk/vm/jitrino/src/codegenerator/ia32/Ia32InstCodeSelector.cpp
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/vm/jitrino/src/codegenerator/ia32/Ia32InstCodeSelector.cpp?view=diff&rev=501372&r1=501371&r2=501372
==============================================================================
--- harmony/enhanced/drlvm/trunk/vm/jitrino/src/codegenerator/ia32/Ia32InstCodeSelector.cpp
(original)
+++ harmony/enhanced/drlvm/trunk/vm/jitrino/src/codegenerator/ia32/Ia32InstCodeSelector.cpp
Tue Jan 30 03:29:41 2007
@@ -2624,7 +2624,7 @@
                                              CG_OpndHandle* tauTypesChecked,
                                              InlineInfo*       ii)
 {
-    Opnd * target=irManager.newImmOpnd(typeManager.getInt32Type(), Opnd::RuntimeInfo::Kind_MethodDirectAddr,
desc);
+    Opnd * target=irManager.newImmOpnd(typeManager.getIntPtrType(), Opnd::RuntimeInfo::Kind_MethodDirectAddr,
desc);
     Opnd * retOpnd=createResultOpnd(retType);
     CallInst * callInst=irManager.newCallInst(target, irManager.getDefaultManagedCallingConvention(),

         numArgs, (Opnd **)args, retOpnd, ii);

Modified: harmony/enhanced/drlvm/trunk/vm/vmcore/src/util/em64t/base/compile_em64t.cpp
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/vm/vmcore/src/util/em64t/base/compile_em64t.cpp?view=diff&rev=501372&r1=501371&r2=501372
==============================================================================
--- harmony/enhanced/drlvm/trunk/vm/vmcore/src/util/em64t/base/compile_em64t.cpp (original)
+++ harmony/enhanced/drlvm/trunk/vm/vmcore/src/util/em64t/base/compile_em64t.cpp Tue Jan 30
03:29:41 2007
@@ -227,7 +227,7 @@
 }
 
 NativeCodePtr compile_gen_compile_me(Method_Handle method) {
-    int STUB_SIZE = 32;
+    int STUB_SIZE = 64;
 #ifdef VM_STATS
     ++VM_Statistics::get_vm_stats().num_compileme_generated;
 #endif



Mime
View raw message