From 3112f4a35185b7d2631a242df43bdd244bd1f6cf Mon Sep 17 00:00:00 2001 From: Sinan Kaya Date: Fri, 20 Sep 2019 19:26:25 +0000 Subject: [PATCH] find ./ -type f -exec sed -i -e 's/SetBBTreeList/SetFirstLIRNode/g' {} \; Commit migrated from https://github.com/dotnet/coreclr/commit/0a84e0ee00fdc3c9158820b146e78a4df2e1ee5c --- src/coreclr/src/jit/block.h | 2 +- src/coreclr/src/jit/flowgraph.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/coreclr/src/jit/block.h b/src/coreclr/src/jit/block.h index 99bf79d..2bd12fb 100644 --- a/src/coreclr/src/jit/block.h +++ b/src/coreclr/src/jit/block.h @@ -750,7 +750,7 @@ struct BasicBlock : private LIR::Range return m_firstNode; } - void SetBBTreeList(GenTree* tree) + void SetFirstLIRNode(GenTree* tree) { m_firstNode = tree; } diff --git a/src/coreclr/src/jit/flowgraph.cpp b/src/coreclr/src/jit/flowgraph.cpp index 0089e6c..df93a78 100644 --- a/src/coreclr/src/jit/flowgraph.cpp +++ b/src/coreclr/src/jit/flowgraph.cpp @@ -9540,8 +9540,8 @@ BasicBlock* Compiler::fgSplitBlockAtBeginning(BasicBlock* curr) if (curr->IsLIR()) { - newBlock->SetBBTreeList(curr->GetFirstLIRNode()); - curr->SetBBTreeList(nullptr); + newBlock->SetFirstLIRNode(curr->GetFirstLIRNode()); + curr->SetFirstLIRNode(nullptr); } else { -- 2.7.4