Hi gang,

the below patch fixes the problem that prevents DRLVM from being compilable
on Linux/x86_64.

The TI itself does not work on x86_64, and the modification only fixes
compiler error.

diff --git a/vm/vmcore/src/jvmti/jvmti_step.cpp 
b/vm/vmcore/src/jvmti/jvmti_step.cpp
index d29ef32..b4180f6 100644
--- a/vm/vmcore/src/jvmti/jvmti_step.cpp
+++ b/vm/vmcore/src/jvmti/jvmti_step.cpp
@@ -502,7 +502,7 @@ #endif
 
             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;
         }
     }
 


---------------------------------------------------------------------
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to