inline void MacroAssembler::set_metadata_constant(Metadata* obj, Register d) { set_metadata(constant_metadata_address(obj), d); }
// Adds MetaData constant md to TOC and loads it from there. // md is added to the oop_recorder, but no relocation is added. inline bool MacroAssembler::set_metadata_constant(Metadata* md, Register d) { AddressLiteral a = constant_metadata_address(md); return load_const_from_toc(d, a, d); // Discards the relocation. }