Searched refs:last_instruction (Results 1 – 5 of 5) sorted by relevance
45 HInstruction* last_instruction = block->GetLastInstruction(); in MarkReachableBlocks() local46 if (last_instruction->IsIf()) { in MarkReachableBlocks()47 HIf* if_instruction = last_instruction->AsIf(); in MarkReachableBlocks()59 } else if (last_instruction->IsPackedSwitch()) { in MarkReachableBlocks()60 HPackedSwitch* switch_instruction = last_instruction->AsPackedSwitch(); in MarkReachableBlocks()
151 HInstruction* last_instruction = IsExitTryBoundaryIntoExitBlock(predecessor) ? in VisitBasicBlock() local154 if (!IsAllowedToJumpToExitBlock(last_instruction)) { in VisitBasicBlock()156 last_instruction->DebugName(), in VisitBasicBlock()157 last_instruction->GetId())); in VisitBasicBlock()
2472 HInstruction* last_instruction = predecessor->GetLastInstruction(); in DisconnectAndDelete() local2473 if (last_instruction->IsTryBoundary() && !IsCatchBlock()) { in DisconnectAndDelete()2479 DCHECK_EQ(last_instruction->AsTryBoundary()->GetNormalFlowSuccessor(), this); in DisconnectAndDelete()2494 DCHECK(last_instruction->IsIf() || in DisconnectAndDelete()2495 last_instruction->IsPackedSwitch() || in DisconnectAndDelete()2496 (last_instruction->IsTryBoundary() && IsCatchBlock())); in DisconnectAndDelete()2497 predecessor->RemoveInstruction(last_instruction); in DisconnectAndDelete()2498 predecessor->AddInstruction(new (graph_->GetAllocator()) HGoto(last_instruction->GetDexPc())); in DisconnectAndDelete()2503 predecessor->RemoveInstruction(last_instruction); in DisconnectAndDelete()2509 DCHECK(last_instruction->IsPackedSwitch() || in DisconnectAndDelete()[all …]
685 DexInstructionIterator last_instruction = instructions.begin(); in TEST_F() local687 last_instruction = dex_it; in TEST_F()689 if (last_instruction->SizeInCodeUnits() == 1) { in TEST_F()691 const_cast<Instruction&>(last_instruction.Inst()).SetOpcode( in TEST_F()699 EXPECT_TRUE(it2 == last_instruction); in TEST_F()
2062 DexInstructionIterator last_instruction = instructions.begin(); in TEST_F() local2064 last_instruction = dex_it; in TEST_F()2066 ASSERT_EQ(last_instruction->SizeInCodeUnits(), 1u); in TEST_F()2068 const_cast<Instruction&>(last_instruction.Inst()).SetOpcode( in TEST_F()2076 EXPECT_TRUE(it2 == last_instruction); in TEST_F()