hotspot/src/cpu/sparc/vm/interp_masm_sparc.cpp
// Test ImethodDataPtr. If it is null, continue at the specified label
void InterpreterMacroAssembler::test_method_data_pointer(Label& zero_continue) {
{- -------------------------------------------
(1) (assert)
---------------------------------------- -}
assert(ProfileInterpreter, "must be profiling interpreter");
{- -------------------------------------------
(1) コード生成:
「ImethodDataPtr レジスタの値が 0 (NULL) であれば,
引数で指定された zero_continue ラベルにジャンプする」
---------------------------------------- -}
#ifdef _LP64
bpr(Assembler::rc_z, false, Assembler::pn, ImethodDataPtr, zero_continue);
#else
tst(ImethodDataPtr);
br(Assembler::zero, false, Assembler::pn, zero_continue);
#endif
delayed()->nop();
}
This document is available under the GNU GENERAL PUBLIC LICENSE Version 2.