fix unnecessary copy-constructors (no speed increase)

This commit is contained in:
ManDude
2022-04-16 22:16:08 +01:00
parent ef524bb0f6
commit 9100725802
3 changed files with 42 additions and 42 deletions
+1 -1
View File
@@ -2775,7 +2775,7 @@ std::shared_ptr<ControlFlowGraph> build_cfg(
if (is_branch(likely_branch_candidate, true)) {
// likely branch!
auto following = func.instructions.at(likely_branch_idx + 1);
auto& following = func.instructions.at(likely_branch_idx + 1);
if (branch_delay_asm(following)) {
b->end_branch.asm_branch = true;
if (debug_asm_branch) {