Lines Matching defs:pc_delta
370 uint32_t RelocInfoWriter::WriteLongPCJump(uint32_t pc_delta) {
371 // Return if the pc_delta can fit in kSmallPCDeltaBits bits.
374 if (is_uintn(pc_delta, kSmallPCDeltaBits)) return pc_delta;
376 uint32_t pc_jump = pc_delta >> kSmallPCDeltaBits;
385 // Return the remaining kSmallPCDeltaBits of the pc_delta.
386 return pc_delta & kSmallPCDeltaMask;
390 void RelocInfoWriter::WriteShortTaggedPC(uint32_t pc_delta, int tag) {
392 pc_delta = WriteLongPCJump(pc_delta);
393 *--pos_ = pc_delta << kTagBits | tag;
408 void RelocInfoWriter::WriteModeAndPC(uint32_t pc_delta, RelocInfo::Mode rmode) {
410 pc_delta = WriteLongPCJump(pc_delta);
412 *--pos_ = pc_delta;
434 void RelocInfoWriter::WritePosition(int pc_delta, int pos_delta,
440 WriteShortTaggedPC(pc_delta, kLocatableTag);
444 WriteModeAndPC(pc_delta, rmode);
472 uint32_t pc_delta = static_cast<uint32_t>(rinfo->pc() - last_pc_);
476 WriteShortTaggedPC(pc_delta, kEmbeddedObjectTag);
478 WriteShortTaggedPC(pc_delta, kCodeTargetTag);
486 WriteShortTaggedPC(pc_delta, kLocatableTag);
490 WriteModeAndPC(pc_delta, rmode);
496 WriteShortTaggedPC(pc_delta, kLocatableTag);
503 WritePosition(pc_delta, pos_delta, rmode);
506 if (pc_delta != 0 || last_mode_ != RelocInfo::POSITION) {
508 next_position_candidate_pc_delta_ = pc_delta;
517 WriteModeAndPC(pc_delta, rmode);