harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ge...@apache.org
Subject svn commit: r453428 - /incubator/harmony/enhanced/drlvm/trunk/vm/vmcore/src/jvmti/jvmti_step.cpp
Date Thu, 05 Oct 2006 23:42:40 GMT
Author: geirm
Date: Thu Oct  5 16:42:39 2006
New Revision: 453428

URL: http://svn.apache.org/viewvc?view=rev&rev=453428
Log:
HARMONY-1571

This is one line compilation fix for a warning of "creating pointer from an integer of different
size" for x86_64 
platforms. The JVMTI code is still meant to work only on ia32 but for x86_64 it should compile,
so this patch is a 
workaround to allow compilation.

Ubuntu 6 - 32-bit - please test _64

smoke, c-unit, ~kernel


Modified:
    incubator/harmony/enhanced/drlvm/trunk/vm/vmcore/src/jvmti/jvmti_step.cpp

Modified: incubator/harmony/enhanced/drlvm/trunk/vm/vmcore/src/jvmti/jvmti_step.cpp
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/drlvm/trunk/vm/vmcore/src/jvmti/jvmti_step.cpp?view=diff&rev=453428&r1=453427&r2=453428
==============================================================================
--- incubator/harmony/enhanced/drlvm/trunk/vm/vmcore/src/jvmti/jvmti_step.cpp (original)
+++ incubator/harmony/enhanced/drlvm/trunk/vm/vmcore/src/jvmti/jvmti_step.cpp Thu Oct  5 16:42:39
2006
@@ -502,7 +502,7 @@
 
             const InstructionDisassembler::Opnd& stub_op = stub_disasm.get_opnd(0);
             assert(stub_op.kind == InstructionDisassembler::Kind_Imm);
-            method = (Method *)stub_op.imm;
+            method = (Method *)((POINTER_SIZE_INT)stub_op.imm);
         }
     }
 



Mime
View raw message