find ./ -type f -exec sed -i -e 's/SetBBTreeList/SetFirstLIRNode/g' {} \;
authorSinan Kaya <sinan.kaya@microsoft.com>
Fri, 20 Sep 2019 19:26:25 +0000 (19:26 +0000)
committerSinan Kaya <sinan.kaya@microsoft.com>
Fri, 20 Sep 2019 19:26:25 +0000 (19:26 +0000)
Commit migrated from https://github.com/dotnet/coreclr/commit/0a84e0ee00fdc3c9158820b146e78a4df2e1ee5c

src/coreclr/src/jit/block.h
src/coreclr/src/jit/flowgraph.cpp

index 99bf79d..2bd12fb 100644 (file)
@@ -750,7 +750,7 @@ struct BasicBlock : private LIR::Range
         return m_firstNode;
     }
 
-    void SetBBTreeList(GenTree* tree)
+    void SetFirstLIRNode(GenTree* tree)
     {
         m_firstNode = tree;
     }
index 0089e6c..df93a78 100644 (file)
@@ -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
     {