src/cpu/ppc/vm/c1_LIRAssembler_ppc.hpp
Index Unified diffs Context diffs Sdiffs Wdiffs Patch New Old Previous File Next File hotspot Cdiff src/cpu/ppc/vm/c1_LIRAssembler_ppc.hpp

src/cpu/ppc/vm/c1_LIRAssembler_ppc.hpp

Print this page

        

*** 58,69 **** // Emit trampoline stub for call. Call bailout() if failed. Return true on success. bool emit_trampoline_stub_for_call(address target, Register Rtoc = noreg); enum { ! max_static_call_stub_size = 4 * BytesPerInstWord + MacroAssembler::b64_patchable_size, ! call_stub_size = max_static_call_stub_size + MacroAssembler::trampoline_stub_size, // or smaller ! exception_handler_size = MacroAssembler::b64_patchable_size, // or smaller ! deopt_handler_size = MacroAssembler::bl64_patchable_size }; #endif // CPU_PPC_VM_C1_LIRASSEMBLER_PPC_HPP --- 58,80 ---- // Emit trampoline stub for call. Call bailout() if failed. Return true on success. bool emit_trampoline_stub_for_call(address target, Register Rtoc = noreg); enum { ! _static_call_stub_size = 4 * BytesPerInstWord + MacroAssembler::b64_patchable_size, // or smaller ! _call_stub_size = _static_call_stub_size + MacroAssembler::trampoline_stub_size, // or smaller ! _call_aot_stub_size = 0, ! _exception_handler_size = MacroAssembler::b64_patchable_size, // or smaller ! _deopt_handler_size = MacroAssembler::bl64_patchable_size }; + // '_static_call_stub_size' is only used on ppc (see LIR_Assembler::emit_static_call_stub() + // in c1_LIRAssembler_ppc.cpp. The other, shared getters are defined in c1_LIRAssembler.hpp + static int static_call_stub_size() { + if (UseAOT) { + return _static_call_stub_size + _call_aot_stub_size; + } else { + return _static_call_stub_size; + } + } + #endif // CPU_PPC_VM_C1_LIRASSEMBLER_PPC_HPP
src/cpu/ppc/vm/c1_LIRAssembler_ppc.hpp
Index Unified diffs Context diffs Sdiffs Wdiffs Patch New Old Previous File Next File