harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gshiman...@apache.org
Subject svn commit: r472160 - /incubator/harmony/enhanced/drlvm/trunk/vm/vmcore/src/jvmti/jvmti_dasm.cpp
Date Tue, 07 Nov 2006 16:48:17 GMT
Author: gshimansky
Date: Tue Nov  7 08:48:17 2006
New Revision: 472160

URL: http://svn.apache.org/viewvc?view=rev&rev=472160
Log:
Applied HARMONY-1995 [drlvm] [jvmti] Target address for Jcc is not stored

Tests passed on gentoo linux


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

Modified: incubator/harmony/enhanced/drlvm/trunk/vm/vmcore/src/jvmti/jvmti_dasm.cpp
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/drlvm/trunk/vm/vmcore/src/jvmti/jvmti_dasm.cpp?view=diff&rev=472160&r1=472159&r2=472160
==============================================================================
--- incubator/harmony/enhanced/drlvm/trunk/vm/vmcore/src/jvmti/jvmti_dasm.cpp (original)
+++ incubator/harmony/enhanced/drlvm/trunk/vm/vmcore/src/jvmti/jvmti_dasm.cpp Tue Nov  7 08:48:17
2006
@@ -153,6 +153,7 @@
         assert(inst.odesc->opnds[0].kind == OpndKind_Imm);
         pidi->m_cond_jump_type = (CondJumpType)(inst.mn-Mnemonic_Jcc);
         assert(pidi->m_cond_jump_type < CondJumpType_Count);
+        pidi->m_target = (NativeCodePtr)((char*)addr + pidi->m_len + inst.operands[0].imm());
         pidi->m_type = RELATIVE_COND_JUMP;
     }
 }



Mime
View raw message