From 12d1313df21b0bb3431257ec438aa9d71fd8d40f Mon Sep 17 00:00:00 2001 From: Tymoteusz Wenerski Date: Fri, 5 Jan 2024 17:13:07 +0100 Subject: [PATCH] Replace call to GetFalseTarget method with GetTarget inside fgRemoveConditionalJump --- src/coreclr/jit/fgopt.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/coreclr/jit/fgopt.cpp b/src/coreclr/jit/fgopt.cpp index 824a88feb0427..ecf4ca42d0d75 100644 --- a/src/coreclr/jit/fgopt.cpp +++ b/src/coreclr/jit/fgopt.cpp @@ -2586,7 +2586,7 @@ void Compiler::fgRemoveConditionalJump(BasicBlock* block) { printf("Block " FMT_BB " becoming a BBJ_ALWAYS to " FMT_BB " (jump target is the same whether the condition" " is true or false)\n", - block->bbNum, block->GetFalseTarget()->bbNum); + block->bbNum, block->GetTarget()->bbNum); } #endif