Mercurial > hg > graal-jvmci-8
diff src/share/vm/code/nmethod.cpp @ 10973:ef57c43512d6
8014431: cleanup warnings indicated by the -Wunused-value compiler option on linux
Reviewed-by: dholmes, coleenp
Contributed-by: jeremymanson@google.com, calvin.cheung@oracle.com
author | ccheung |
---|---|
date | Thu, 13 Jun 2013 22:02:40 -0700 |
parents | 28e5aed7f3a6 |
children | 7875ea94bea5 |
line wrap: on
line diff
--- a/src/share/vm/code/nmethod.cpp Thu Jun 13 11:16:38 2013 -0700 +++ b/src/share/vm/code/nmethod.cpp Thu Jun 13 22:02:40 2013 -0700 @@ -2615,7 +2615,8 @@ relocation_begin()-1+ip[1]); for (; ip < index_end; ip++) tty->print_cr(" (%d ?)", ip[0]); - tty->print_cr(" @" INTPTR_FORMAT ": index_size=%d", ip, *ip++); + tty->print_cr(" @" INTPTR_FORMAT ": index_size=%d", ip, *ip); + ip++; tty->print_cr("reloc_end @" INTPTR_FORMAT ":", ip); } }