Lines Matching refs:Assembler
112 DCHECK(Assembler::IsBne(masm->instr_at(pos))); in PatchBranchIntoNop()
119 DCHECK(Assembler::IsBeq(masm->instr_at(pos))); in PatchNopIntoBranch()
123 Instr first_instruction = Assembler::instr_at(stub->instruction_start()); in GetMode()
124 Instr second_instruction = Assembler::instr_at(stub->instruction_start() + in GetMode()
125 2 * Assembler::kInstrSize); in GetMode()
127 if (Assembler::IsBeq(first_instruction)) { in GetMode()
131 DCHECK(Assembler::IsBne(first_instruction)); in GetMode()
133 if (Assembler::IsBeq(second_instruction)) { in GetMode()
137 DCHECK(Assembler::IsBne(second_instruction)); in GetMode()
150 PatchBranchIntoNop(&masm, 2 * Assembler::kInstrSize); in Patch()
158 PatchNopIntoBranch(&masm, 2 * Assembler::kInstrSize); in Patch()
162 Assembler::FlushICache(stub->GetIsolate(), stub->instruction_start(), in Patch()
163 4 * Assembler::kInstrSize); in Patch()