Home
last modified time | relevance | path

Searched refs:patcher (Results 1 – 25 of 48) sorted by relevance

12

/external/v8/src/debug/arm64/
Ddebug-arm64.cc38 PatchingAssembler patcher(isolate, reinterpret_cast<Instruction*>(pc), in ClearDebugBreakSlot() local
40 EmitDebugBreakSlot(&patcher); in ClearDebugBreakSlot()
47 PatchingAssembler patcher(isolate, reinterpret_cast<Instruction*>(pc), in PatchDebugBreakSlot() local
66 patcher.ldr_pcrel(ip0, (2 * kInstructionSize) >> kLoadLiteralScaleLog2); in PatchDebugBreakSlot()
67 patcher.b(&skip_constant); in PatchDebugBreakSlot()
68 patcher.dc64(reinterpret_cast<int64_t>(code->entry())); in PatchDebugBreakSlot()
69 patcher.bind(&skip_constant); in PatchDebugBreakSlot()
74 patcher.blr(ip0); in PatchDebugBreakSlot()
/external/v8/src/debug/arm/
Ddebug-arm.cc37 CodePatcher patcher(isolate, pc, Assembler::kDebugBreakSlotInstructions); in ClearDebugBreakSlot() local
38 EmitDebugBreakSlot(patcher.masm()); in ClearDebugBreakSlot()
45 CodePatcher patcher(isolate, pc, Assembler::kDebugBreakSlotInstructions); in PatchDebugBreakSlot() local
58 patcher.masm()->ldr(ip, MemOperand(v8::internal::pc, 0)); in PatchDebugBreakSlot()
59 patcher.masm()->b(&skip_constant); in PatchDebugBreakSlot()
60 patcher.Emit(code->entry()); in PatchDebugBreakSlot()
61 patcher.masm()->bind(&skip_constant); in PatchDebugBreakSlot()
62 patcher.masm()->blx(ip); in PatchDebugBreakSlot()
/external/v8/src/debug/x64/
Ddebug-x64.cc35 CodePatcher patcher(isolate, pc, Assembler::kDebugBreakSlotLength); in ClearDebugBreakSlot() local
36 EmitDebugBreakSlot(patcher.masm()); in ClearDebugBreakSlot()
44 CodePatcher patcher(isolate, pc, kSize); in PatchDebugBreakSlot() local
46 patcher.masm()->bind(&check_codesize); in PatchDebugBreakSlot()
47 patcher.masm()->movp(kScratchRegister, reinterpret_cast<void*>(code->entry()), in PatchDebugBreakSlot()
49 patcher.masm()->call(kScratchRegister); in PatchDebugBreakSlot()
51 DCHECK_EQ(kSize, patcher.masm()->SizeOfCodeGeneratedSince(&check_codesize)); in PatchDebugBreakSlot()
/external/v8/src/debug/ppc/
Ddebug-ppc.cc37 CodePatcher patcher(isolate, pc, Assembler::kDebugBreakSlotInstructions); in ClearDebugBreakSlot() local
38 EmitDebugBreakSlot(patcher.masm()); in ClearDebugBreakSlot()
45 CodePatcher patcher(isolate, pc, Assembler::kDebugBreakSlotInstructions); in PatchDebugBreakSlot() local
60 Assembler::BlockTrampolinePoolScope block_trampoline_pool(patcher.masm()); in PatchDebugBreakSlot()
61 patcher.masm()->mov(v8::internal::r0, in PatchDebugBreakSlot()
63 patcher.masm()->mtctr(v8::internal::r0); in PatchDebugBreakSlot()
64 patcher.masm()->bctrl(); in PatchDebugBreakSlot()
/external/v8/src/debug/x87/
Ddebug-x87.cc34 CodePatcher patcher(isolate, pc, Assembler::kDebugBreakSlotLength); in ClearDebugBreakSlot() local
35 EmitDebugBreakSlot(patcher.masm()); in ClearDebugBreakSlot()
43 CodePatcher patcher(isolate, pc, kSize); in PatchDebugBreakSlot() local
47 patcher.masm()->bind(&check_codesize); in PatchDebugBreakSlot()
48 patcher.masm()->call(code->entry(), RelocInfo::NONE32); in PatchDebugBreakSlot()
50 DCHECK_EQ(kSize, patcher.masm()->SizeOfCodeGeneratedSince(&check_codesize)); in PatchDebugBreakSlot()
/external/v8/src/debug/ia32/
Ddebug-ia32.cc34 CodePatcher patcher(isolate, pc, Assembler::kDebugBreakSlotLength); in ClearDebugBreakSlot() local
35 EmitDebugBreakSlot(patcher.masm()); in ClearDebugBreakSlot()
43 CodePatcher patcher(isolate, pc, kSize); in PatchDebugBreakSlot() local
47 patcher.masm()->bind(&check_codesize); in PatchDebugBreakSlot()
48 patcher.masm()->call(code->entry(), RelocInfo::NONE32); in PatchDebugBreakSlot()
50 DCHECK_EQ(kSize, patcher.masm()->SizeOfCodeGeneratedSince(&check_codesize)); in PatchDebugBreakSlot()
/external/v8/src/arm64/
Dcode-stubs-arm64.h133 PatchingAssembler patcher( in Patch()
136 Instruction* instr1 = patcher.InstructionAt(0); in Patch()
137 Instruction* instr2 = patcher.InstructionAt(kInstructionSize); in Patch()
151 patcher.adr(xzr, offset_to_incremental_noncompacting); in Patch()
152 patcher.adr(xzr, offset_to_incremental_compacting); in Patch()
156 patcher.b(offset_to_incremental_noncompacting >> kInstructionSizeLog2); in Patch()
157 patcher.adr(xzr, offset_to_incremental_compacting); in Patch()
161 patcher.adr(xzr, offset_to_incremental_noncompacting); in Patch()
162 patcher.b(offset_to_incremental_compacting >> kInstructionSizeLog2); in Patch()
Dinstructions-arm64.cc246 PatchingAssembler patcher(isolate, this, in SetPCRelImmTarget() local
248 patcher.PatchAdrFar(target_offset); in SetPCRelImmTarget()
297 PatchingAssembler patcher(isolate, this, 2); in SetUnresolvedInternalReferenceImmTarget() local
298 patcher.brk(high16); in SetUnresolvedInternalReferenceImmTarget()
299 patcher.brk(low16); in SetUnresolvedInternalReferenceImmTarget()
Ddeoptimizer-arm64.cc52 PatchingAssembler patcher(isolate, call_address, in PatchCodeForDeoptimization() local
54 patcher.ldr_pcrel(ip0, (2 * kInstructionSize) >> kLoadLiteralScaleLog2); in PatchCodeForDeoptimization()
55 patcher.blr(ip0); in PatchCodeForDeoptimization()
56 patcher.dc64(reinterpret_cast<intptr_t>(deopt_entry)); in PatchCodeForDeoptimization()
/external/v8/src/debug/mips/
Ddebug-mips.cc37 CodePatcher patcher(isolate, pc, Assembler::kDebugBreakSlotInstructions); in ClearDebugBreakSlot() local
38 EmitDebugBreakSlot(patcher.masm()); in ClearDebugBreakSlot()
45 CodePatcher patcher(isolate, pc, Assembler::kDebugBreakSlotInstructions); in PatchDebugBreakSlot() local
54 patcher.masm()->li(v8::internal::t9, in PatchDebugBreakSlot()
56 patcher.masm()->Call(v8::internal::t9); in PatchDebugBreakSlot()
/external/v8/src/debug/mips64/
Ddebug-mips64.cc36 CodePatcher patcher(isolate, pc, Assembler::kDebugBreakSlotInstructions); in ClearDebugBreakSlot() local
37 EmitDebugBreakSlot(patcher.masm()); in ClearDebugBreakSlot()
44 CodePatcher patcher(isolate, pc, Assembler::kDebugBreakSlotInstructions); in PatchDebugBreakSlot() local
55 patcher.masm()->li(v8::internal::t9, in PatchDebugBreakSlot()
58 patcher.masm()->Call(v8::internal::t9); in PatchDebugBreakSlot()
/external/v8/src/ppc/
Dcodegen-ppc.cc618 base::SmartPointer<CodePatcher> patcher( in CodeAgingHelper() local
622 PredictableCodeSizeScope scope(patcher->masm(), young_sequence_.length()); in CodeAgingHelper()
623 patcher->masm()->PushFixedFrame(r4); in CodeAgingHelper()
624 patcher->masm()->addi(fp, sp, in CodeAgingHelper()
627 patcher->masm()->nop(); in CodeAgingHelper()
670 CodePatcher patcher(isolate, sequence, in PatchPlatformCodeAge() local
672 Assembler::BlockTrampolinePoolScope block_trampoline_pool(patcher.masm()); in PatchPlatformCodeAge()
676 patcher.masm()->nop(); // marker to detect sequence (see IsOld) in PatchPlatformCodeAge()
677 patcher.masm()->mov(r3, Operand(target)); in PatchPlatformCodeAge()
678 patcher.masm()->Jump(r3); in PatchPlatformCodeAge()
[all …]
Ddeoptimizer-ppc.cc48 CodePatcher patcher(isolate, pointer, 1); in PatchCodeForDeoptimization() local
49 patcher.masm()->bkpt(0); in PatchCodeForDeoptimization()
79 CodePatcher patcher(isolate, call_address, call_size_in_words); in PatchCodeForDeoptimization() local
80 patcher.masm()->Call(deopt_entry, kRelocInfo_NONEPTR); in PatchCodeForDeoptimization()
/external/v8/src/x64/
Dcodegen-x64.cc562 CodePatcher patcher(isolate, young_sequence_.start(), in CodeAgingHelper() local
564 patcher.masm()->pushq(rbp); in CodeAgingHelper()
565 patcher.masm()->movp(rbp, rsp); in CodeAgingHelper()
566 patcher.masm()->Push(rsi); in CodeAgingHelper()
567 patcher.masm()->Push(rdi); in CodeAgingHelper()
610 CodePatcher patcher(isolate, sequence, young_length); in PatchPlatformCodeAge() local
611 patcher.masm()->call(stub->instruction_start()); in PatchPlatformCodeAge()
612 patcher.masm()->Nop( in PatchPlatformCodeAge()
Ddeoptimizer-x64.cc44 CodePatcher patcher(isolate, pointer, 1); in PatchCodeForDeoptimization() local
45 patcher.masm()->int3(); in PatchCodeForDeoptimization()
78 CodePatcher patcher(isolate, call_address, Assembler::kCallSequenceLength); in PatchCodeForDeoptimization() local
79 patcher.masm()->Call(GetDeoptimizationEntry(isolate, i, LAZY), in PatchCodeForDeoptimization()
/external/v8/src/x87/
Dcodegen-x87.cc596 CodePatcher patcher(isolate, young_sequence_.start(), in CodeAgingHelper() local
598 patcher.masm()->push(ebp); in CodeAgingHelper()
599 patcher.masm()->mov(ebp, esp); in CodeAgingHelper()
600 patcher.masm()->push(esi); in CodeAgingHelper()
601 patcher.masm()->push(edi); in CodeAgingHelper()
644 CodePatcher patcher(isolate, sequence, young_length); in PatchPlatformCodeAge() local
645 patcher.masm()->call(stub->instruction_start(), RelocInfo::NONE32); in PatchPlatformCodeAge()
/external/chromium-trace/catapult/telemetry/third_party/mock/
Dmock.py1106 def _is_started(patcher): argument
1108 return hasattr(patcher, 'is_local')
1144 patcher = _patch(
1149 patcher.attribute_name = self.attribute_name
1150 patcher.additional_patchers = [
1153 return patcher
1171 patcher = self.copy()
1172 setattr(klass, attr, patcher(attr_value))
1389 for patcher in reversed(self.additional_patchers):
1390 if _is_started(patcher):
[all …]
/external/chromium-trace/catapult/third_party/mock/
Dmock.py1106 def _is_started(patcher): argument
1108 return hasattr(patcher, 'is_local')
1144 patcher = _patch(
1149 patcher.attribute_name = self.attribute_name
1150 patcher.additional_patchers = [
1153 return patcher
1171 patcher = self.copy()
1172 setattr(klass, attr, patcher(attr_value))
1389 for patcher in reversed(self.additional_patchers):
1390 if _is_started(patcher):
[all …]
/external/archive-patcher/
DREADME.version1 URL: https://github.com/andrewhayden/archive-patcher/archive/8ffe39d965862e3659c68208efa9147adcaea3…
DREADME.android1 Any Android specific modifications to upstream archive-patcher should be listed
DAndroid.mk22 LOCAL_MODULE := archive-patcher
/external/v8/src/arm/
Ddeoptimizer-arm.cc43 CodePatcher patcher(isolate, pointer, 1); in PatchCodeForDeoptimization() local
44 patcher.masm()->bkpt(0); in PatchCodeForDeoptimization()
76 CodePatcher patcher(isolate, call_address, call_size_in_words); in PatchCodeForDeoptimization() local
77 patcher.masm()->Call(deopt_entry, RelocInfo::NONE32); in PatchCodeForDeoptimization()
Dcodegen-arm.cc896 base::SmartPointer<CodePatcher> patcher( in CodeAgingHelper() local
900 PredictableCodeSizeScope scope(patcher->masm(), young_sequence_.length()); in CodeAgingHelper()
901 patcher->masm()->PushFixedFrame(r1); in CodeAgingHelper()
902 patcher->masm()->nop(ip.code()); in CodeAgingHelper()
903 patcher->masm()->add( in CodeAgingHelper()
946 CodePatcher patcher(isolate, sequence, in PatchPlatformCodeAge() local
948 patcher.masm()->add(r0, pc, Operand(-8)); in PatchPlatformCodeAge()
949 patcher.masm()->ldr(pc, MemOperand(pc, -4)); in PatchPlatformCodeAge()
950 patcher.masm()->emit_code_stub_address(stub); in PatchPlatformCodeAge()
/external/v8/src/mips64/
Dcodegen-mips64.cc1194 base::SmartPointer<CodePatcher> patcher( in CodeAgingHelper() local
1198 PredictableCodeSizeScope scope(patcher->masm(), young_sequence_.length()); in CodeAgingHelper()
1199 patcher->masm()->Push(ra, fp, cp, a1); in CodeAgingHelper()
1200 patcher->masm()->nop(Assembler::CODE_AGE_SEQUENCE_NOP); in CodeAgingHelper()
1201 patcher->masm()->nop(Assembler::CODE_AGE_SEQUENCE_NOP); in CodeAgingHelper()
1202 patcher->masm()->nop(Assembler::CODE_AGE_SEQUENCE_NOP); in CodeAgingHelper()
1203 patcher->masm()->Daddu( in CodeAgingHelper()
1246 CodePatcher patcher(isolate, sequence, in PatchPlatformCodeAge() local
1249 patcher.masm()->nop(Assembler::CODE_AGE_MARKER_NOP); in PatchPlatformCodeAge()
1252 patcher.masm()->li( in PatchPlatformCodeAge()
[all …]
Ddeoptimizer-mips64.cc41 CodePatcher patcher(isolate, pointer, 1); in PatchCodeForDeoptimization() local
42 patcher.masm()->break_(0xCC); in PatchCodeForDeoptimization()
70 CodePatcher patcher(isolate, call_address, call_size_in_words); in PatchCodeForDeoptimization() local
71 patcher.masm()->Call(deopt_entry, RelocInfo::NONE32); in PatchCodeForDeoptimization()

12