Home
last modified time | relevance | path

Searched refs:cur_offset (Results 1 – 5 of 5) sorted by relevance

/art/runtime/verifier/
Dmethod_verifier.cc1007 bool MethodVerifier::CheckArrayData(uint32_t cur_offset) { in CheckArrayData() argument
1009 const uint16_t* insns = code_item_->insns_ + cur_offset; in CheckArrayData()
1013 DCHECK_LT(cur_offset, insn_count); in CheckArrayData()
1016 if ((int32_t) cur_offset + array_data_offset < 0 || in CheckArrayData()
1017 cur_offset + array_data_offset + 2 >= insn_count) { in CheckArrayData()
1018 Fail(VERIFY_ERROR_BAD_CLASS_HARD) << "invalid array data start: at " << cur_offset in CheckArrayData()
1027 Fail(VERIFY_ERROR_BAD_CLASS_HARD) << "unaligned array data table: at " << cur_offset in CheckArrayData()
1035 if (cur_offset + array_data_offset + table_size > insn_count) { in CheckArrayData()
1036 Fail(VERIFY_ERROR_BAD_CLASS_HARD) << "invalid array data end: at " << cur_offset in CheckArrayData()
1038 << cur_offset + array_data_offset + table_size in CheckArrayData()
[all …]
Dmethod_verifier.h427 bool CheckArrayData(uint32_t cur_offset);
434 bool CheckBranchTarget(uint32_t cur_offset);
438 bool CheckSwitchTargets(uint32_t cur_offset);
455 bool GetBranchOffset(uint32_t cur_offset, int32_t* pOffset, bool* pConditional,
/art/compiler/dex/quick/arm64/
Dint_arm64.cc1557 int cur_offset = 2; // What's the starting offset after the first stp? We expect the base slot in SpillRegsPreIndexed() local
1586 cur_offset = 0; // That core reg needs to go into the upper half. in SpillRegsPreIndexed()
1634 cur_offset); in SpillRegsPreIndexed()
1635 m2l->cfi().RelOffset(DwarfFpReg(reg1), cur_offset * kArm64PointerSize); in SpillRegsPreIndexed()
1639 RegStorage::FloatSolo64(reg1).GetReg(), base.GetReg(), cur_offset); in SpillRegsPreIndexed()
1640 m2l->cfi().RelOffset(DwarfFpReg(reg2), cur_offset * kArm64PointerSize); in SpillRegsPreIndexed()
1641 m2l->cfi().RelOffset(DwarfFpReg(reg1), (cur_offset + 1) * kArm64PointerSize); in SpillRegsPreIndexed()
1642 cur_offset += 2; in SpillRegsPreIndexed()
1653 cur_offset + 1); in SpillRegsPreIndexed()
1654 m2l->cfi().RelOffset(DwarfCoreReg(reg1), (cur_offset + 1) * kArm64PointerSize); in SpillRegsPreIndexed()
[all …]
/art/compiler/dex/
Dmir_graph.cc455 BasicBlock* MIRGraph::ProcessCanBranch(BasicBlock* cur_block, MIR* insn, DexOffset cur_offset, in ProcessCanBranch() argument
459 DexOffset target = cur_offset; in ProcessCanBranch()
497 BasicBlock* fallthrough_block = FindBlock(cur_offset + width, in ProcessCanBranch()
507 …FindBlock(cur_offset + width, /* create */ true, /* immed_pred_block_p */ nullptr, dex_pc_to_block… in ProcessCanBranch()
513 BasicBlock* MIRGraph::ProcessCanSwitch(BasicBlock* cur_block, MIR* insn, DexOffset cur_offset, in ProcessCanSwitch() argument
518 reinterpret_cast<const uint16_t*>(GetCurrentInsns() + cur_offset + in ProcessCanSwitch()
569 BasicBlock* case_block = FindBlock(cur_offset + target_table[i], /* create */ true, in ProcessCanSwitch()
585 BasicBlock* fallthrough_block = FindBlock(cur_offset + width, /* create */ true, in ProcessCanSwitch()
595 BasicBlock* MIRGraph::ProcessCanThrow(BasicBlock* cur_block, MIR* insn, DexOffset cur_offset, in ProcessCanThrow() argument
600 bool in_try_block = try_block_addr->IsBitSet(cur_offset); in ProcessCanThrow()
[all …]
Dmir_graph.h1295 BasicBlock* ProcessCanBranch(BasicBlock* cur_block, MIR* insn, DexOffset cur_offset, int width,
1298 BasicBlock* ProcessCanSwitch(BasicBlock* cur_block, MIR* insn, DexOffset cur_offset, int width,
1301 BasicBlock* ProcessCanThrow(BasicBlock* cur_block, MIR* insn, DexOffset cur_offset, int width,