Mercurial > hg > graal-compiler
comparison 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 |
comparison
equal
deleted
inserted
replaced
14389:164db61dbced | 14390:0f03ff49c720 |
---|---|
916 // To minimze the overhead of doing that here, we ask the GC to pass down a | 916 // To minimze the overhead of doing that here, we ask the GC to pass down a |
917 // closure that knows how to keep klasses alive given a ClassLoaderData. | 917 // closure that knows how to keep klasses alive given a ClassLoaderData. |
918 cld_f->do_cld(m->method_holder()->class_loader_data()); | 918 cld_f->do_cld(m->method_holder()->class_loader_data()); |
919 } | 919 } |
920 | 920 |
921 #if !defined(PPC) || defined(ZERO) | 921 #if !defined(PPC32) || defined(ZERO) |
922 if (m->is_native()) { | 922 if (m->is_native()) { |
923 #ifdef CC_INTERP | 923 #ifdef CC_INTERP |
924 interpreterState istate = get_interpreterState(); | 924 interpreterState istate = get_interpreterState(); |
925 f->do_oop((oop*)&istate->_oop_temp); | 925 f->do_oop((oop*)&istate->_oop_temp); |
926 #else | 926 #else |
927 f->do_oop((oop*)( fp() + interpreter_frame_oop_temp_offset )); | 927 f->do_oop((oop*)( fp() + interpreter_frame_oop_temp_offset )); |
928 #endif /* CC_INTERP */ | 928 #endif /* CC_INTERP */ |
929 } | 929 } |
930 #else // PPC | 930 #else // PPC32 |
931 if (m->is_native() && m->is_static()) { | 931 if (m->is_native() && m->is_static()) { |
932 f->do_oop(interpreter_frame_mirror_addr()); | 932 f->do_oop(interpreter_frame_mirror_addr()); |
933 } | 933 } |
934 #endif // PPC | 934 #endif // PPC32 |
935 | 935 |
936 int max_locals = m->is_native() ? m->size_of_parameters() : m->max_locals(); | 936 int max_locals = m->is_native() ? m->size_of_parameters() : m->max_locals(); |
937 | 937 |
938 Symbol* signature = NULL; | 938 Symbol* signature = NULL; |
939 bool has_receiver = false; | 939 bool has_receiver = false; |