Mercurial > hg > truffle
diff src/cpu/zero/vm/frame_zero.cpp @ 6926:a3e2f723f2a5
8000780: make Zero build and run with JDK8
Reviewed-by: coleenp, dholmes, twisti
Contributed-by: Roman Kennke <rkennke@redhat.com>
author | twisti |
---|---|
date | Mon, 29 Oct 2012 11:08:48 -0700 |
parents | da91efe96a93 |
children | c566b81b3323 |
line wrap: on
line diff
--- a/src/cpu/zero/vm/frame_zero.cpp Fri Oct 26 14:18:57 2012 -0700 +++ b/src/cpu/zero/vm/frame_zero.cpp Mon Oct 29 11:08:48 2012 -0700 @@ -351,7 +351,7 @@ switch (offset) { case pc_off: strncpy(fieldbuf, "pc", buflen); - if (method()->is_oop()) { + if (method()->is_method()) { nmethod *code = method()->code(); if (code && code->pc_desc_at(pc())) { SimpleScopeDesc ssd(code, pc()); @@ -367,7 +367,7 @@ case method_off: strncpy(fieldbuf, "method", buflen); - if (method()->is_oop()) { + if (method()->is_method()) { method()->name_and_sig_as_C_string(valuebuf, buflen); } return; @@ -378,7 +378,7 @@ } // Variable part - if (method()->is_oop()) { + if (method()->is_method()) { identify_vp_word(frame_index, addr_of_word(offset), addr_of_word(header_words + 1), unextended_sp() + method()->max_stack(), @@ -430,4 +430,3 @@ // unused... but returns fp() to minimize changes introduced by 7087445 return fp(); } -