Lines Matching refs:Assembler
83 DCHECK(Assembler::IsTstImmediate(masm->instr_at(pos))); in PatchBranchIntoNop()
88 DCHECK(Assembler::IsBranch(masm->instr_at(pos))); in PatchNopIntoBranch()
92 Instr first_instruction = Assembler::instr_at(stub->instruction_start()); in GetMode()
93 Instr second_instruction = Assembler::instr_at(stub->instruction_start() + in GetMode()
94 Assembler::kInstrSize); in GetMode()
96 if (Assembler::IsBranch(first_instruction)) { in GetMode()
100 DCHECK(Assembler::IsTstImmediate(first_instruction)); in GetMode()
102 if (Assembler::IsBranch(second_instruction)) { in GetMode()
106 DCHECK(Assembler::IsTstImmediate(second_instruction)); in GetMode()
119 PatchBranchIntoNop(&masm, Assembler::kInstrSize); in Patch()
127 PatchNopIntoBranch(&masm, Assembler::kInstrSize); in Patch()
131 Assembler::FlushICache(stub->GetIsolate(), stub->instruction_start(), in Patch()
132 2 * Assembler::kInstrSize); in Patch()