Searched refs:DistanceTo (Results 1 – 2 of 2) sorted by relevance
218 return IsValidImmPCOffset(BranchType(), DistanceTo(target)); in IsTargetInImmPCOffsetRange()240 ptrdiff_t target_offset = DistanceTo(target); in SetPCRelImmTarget()254 DCHECK(IsAligned(DistanceTo(target), kInstructionSize)); in SetBranchImmTarget()256 DistanceTo(target) >> kInstructionSizeLog2)); in SetBranchImmTarget()257 int offset = static_cast<int>(DistanceTo(target) >> kInstructionSizeLog2); in SetBranchImmTarget()290 DCHECK(IsAligned(DistanceTo(target), kInstructionSize)); in SetUnresolvedInternalReferenceImmTarget()291 DCHECK(is_int32(DistanceTo(target) >> kInstructionSizeLog2)); in SetUnresolvedInternalReferenceImmTarget()293 static_cast<int32_t>(DistanceTo(target) >> kInstructionSizeLog2); in SetUnresolvedInternalReferenceImmTarget()305 DCHECK(IsAligned(DistanceTo(source), kInstructionSize)); in SetImmLLiteral()306 DCHECK(Assembler::IsImmLLiteral(DistanceTo(source))); in SetImmLLiteral()[all …]
407 V8_INLINE ptrdiff_t DistanceTo(Instruction* target) { in DistanceTo() function