Definition at line 692 of file redundancy_elimination.cc.
◆ MovesList
◆ CreateOutgoingMove()
void dart::PhiPlaceMoves::CreateOutgoingMove |
( |
Zone * |
zone, |
|
|
BlockEntryInstr * |
block, |
|
|
intptr_t |
from, |
|
|
intptr_t |
to |
|
) |
| |
|
inline |
Definition at line 696 of file redundancy_elimination.cc.
699 {
700 const intptr_t block_num = block->preorder_number();
701 moves_.EnsureLength(block_num + 1, nullptr);
702
703 if (moves_[block_num] == nullptr) {
704 moves_[block_num] = new (zone) ZoneGrowableArray<Move>(5);
705 }
706
707 moves_[block_num]->Add(Move(from, to));
708 }
◆ GetOutgoingMoves()
Definition at line 724 of file redundancy_elimination.cc.
724 {
725 const intptr_t block_num = block->preorder_number();
726 return (block_num < moves_.length()) ? moves_[block_num] : nullptr;
727 }
The documentation for this class was generated from the following file: