changeset 3484:d68b1274b9ba

7180914: Compilation warning after: 7172967: Eliminate the constMethod's _method backpointer to the methodOop. Summary: Use read_pointer(J...) to access from 'constMethod' base in name_for_methodOop(), libjvm_db.c. Reviewed-by: kvn, coleenp
author jiangli
date Thu, 05 Jul 2012 18:47:41 -0400
parents f0b82641fb7e
children 161ae369407d
files src/os/solaris/dtrace/libjvm_db.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/os/solaris/dtrace/libjvm_db.c	Mon Jul 02 04:19:22 2012 -0400
+++ b/src/os/solaris/dtrace/libjvm_db.c	Thu Jul 05 18:47:41 2012 -0400
@@ -516,7 +516,7 @@
 
   err = read_pointer(J, methodOopPtr + OFFSET_methodOopDesc_constMethod, &constMethod);
   CHECK_FAIL(err);
-  err = read_pointer(J->P, constMethod + OFFSET_constMethodOopDesc_constants, &constantPool);
+  err = read_pointer(J, constMethod + OFFSET_constMethodOopDesc_constants, &constantPool);
   CHECK_FAIL(err);
 
   /* To get name string */