mirror of
https://github.com/ZuneDev/ZuneUIXTools.git
synced 2026-07-27 13:11:59 -07:00
Remove old test code
This commit is contained in:
@@ -56,25 +56,7 @@ public class ControlFlowAnalyzer
|
||||
}
|
||||
}
|
||||
|
||||
public void PushBlock(CodeBlock block)
|
||||
{
|
||||
BlockStack.Push(block);
|
||||
return;
|
||||
|
||||
while (BlockStack.Count > 1)
|
||||
{
|
||||
var currentBlock = BlockStack.Pop();
|
||||
var parentBlock = BlockStack.Peek();
|
||||
|
||||
if (currentBlock.EndOffset <= parentBlock.EndOffset)
|
||||
{
|
||||
BlockStack.Push(currentBlock);
|
||||
break;
|
||||
}
|
||||
|
||||
currentBlock.FinalizeBlock(parentBlock);
|
||||
}
|
||||
}
|
||||
public void PushBlock(CodeBlock block) => BlockStack.Push(block);
|
||||
|
||||
public bool TryPeekBlockInfo<T>(out T info) where T : ICodeBlockInfo => TryPeekBlock(out _, out info);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user