mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-04-21 12:04:45 +00:00
Update control_flow_graph.cpp
added comment back in. Removed white space
This commit is contained in:
parent
116119e8ef
commit
3f09e32410
1 changed files with 4 additions and 2 deletions
|
@ -108,8 +108,10 @@ void CFG::EmitBlocks() {
|
|||
// TODO: Investigate how to make sure this does not go out of bounds.
|
||||
// Is inst_list always the size of labels?
|
||||
const size_t end_index = get_index(end) - 1;
|
||||
const auto& end_inst = inst_list[end_index];
|
||||
|
||||
const auto& end_inst = inst_list[end_index];
|
||||
|
||||
// Insert block between the labels using the last instruction
|
||||
// as an indicator for branching type.
|
||||
Block* block = block_pool.Create();
|
||||
block->begin = start;
|
||||
block->end = end;
|
||||
|
|
Loading…
Add table
Reference in a new issue