Lines Matching refs:pc_delta
78 uint32_t RelocInfoWriter::WriteLongPCJump(uint32_t pc_delta) { in WriteLongPCJump() argument
82 if (is_uintn(pc_delta, kSmallPCDeltaBits)) return pc_delta; in WriteLongPCJump()
84 uint32_t pc_jump = pc_delta >> kSmallPCDeltaBits; in WriteLongPCJump()
93 return pc_delta & kSmallPCDeltaMask; in WriteLongPCJump()
96 void RelocInfoWriter::WriteShortTaggedPC(uint32_t pc_delta, int tag) { in WriteShortTaggedPC() argument
98 pc_delta = WriteLongPCJump(pc_delta); in WriteShortTaggedPC()
99 *--pos_ = pc_delta << kTagBits | tag; in WriteShortTaggedPC()
111 void RelocInfoWriter::WriteModeAndPC(uint32_t pc_delta, RelocInfo::Mode rmode) { in WriteModeAndPC() argument
113 pc_delta = WriteLongPCJump(pc_delta); in WriteModeAndPC()
115 *--pos_ = pc_delta; in WriteModeAndPC()
142 uint32_t pc_delta = in Write() local
147 WriteShortTaggedPC(pc_delta, kEmbeddedObjectTag); in Write()
149 WriteShortTaggedPC(pc_delta, kCodeTargetTag); in Write()
152 WriteShortTaggedPC(pc_delta, kWasmStubCallTag); in Write()
154 WriteModeAndPC(pc_delta, rmode); in Write()