Mercurial > hg > truffle
diff src/share/vm/runtime/frame.cpp @ 14390:0f03ff49c720
8016491: PPC64 (part 2): Clean up PPC defines.
Summary: Distinguish PPC, PPC64 and PPC32. PPC should guard code needed on any PPC system. PPC32 and PPC64 should guard code needed in a port for the ppc64 or ppc32 instruction set.
Reviewed-by: kvn
author | goetz |
---|---|
date | Wed, 19 Jun 2013 12:29:30 +0200 |
parents | c40fbf634c90 |
children | b5c8a61d7fa0 |
line wrap: on
line diff
--- a/src/share/vm/runtime/frame.cpp Wed Jun 19 12:15:50 2013 +0200 +++ b/src/share/vm/runtime/frame.cpp Wed Jun 19 12:29:30 2013 +0200 @@ -918,7 +918,7 @@ cld_f->do_cld(m->method_holder()->class_loader_data()); } -#if !defined(PPC) || defined(ZERO) +#if !defined(PPC32) || defined(ZERO) if (m->is_native()) { #ifdef CC_INTERP interpreterState istate = get_interpreterState(); @@ -927,11 +927,11 @@ f->do_oop((oop*)( fp() + interpreter_frame_oop_temp_offset )); #endif /* CC_INTERP */ } -#else // PPC +#else // PPC32 if (m->is_native() && m->is_static()) { f->do_oop(interpreter_frame_mirror_addr()); } -#endif // PPC +#endif // PPC32 int max_locals = m->is_native() ? m->size_of_parameters() : m->max_locals();