summaryrefslogtreecommitdiff
path: root/src/shader_recompiler/frontend/ir/value.h
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2022-10-27 10:11:02 -0700
committerGitHub <noreply@github.com>2022-10-27 10:11:02 -0700
commit20118075c58b96baeb676df3060dc150aa22523a (patch)
tree506b28c3c83f7c8c382002b645cdb50f15a1e1a8 /src/shader_recompiler/frontend/ir/value.h
parent86a3a0b1b426c4024df8b7a0f9ac1a26cb3b07ff (diff)
parent165bce3c2d265760190ea848a064f0d6538710bb (diff)
Merge pull request #9126 from vonchenplus/revert-8068-shader-if-false
Revert "shader_recompiler/dead_code_elimination: Add DeadBranchElimination pass"
Diffstat (limited to 'src/shader_recompiler/frontend/ir/value.h')
-rw-r--r--src/shader_recompiler/frontend/ir/value.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/shader_recompiler/frontend/ir/value.h b/src/shader_recompiler/frontend/ir/value.h
index 1a2e4ccb6..6a673ca05 100644
--- a/src/shader_recompiler/frontend/ir/value.h
+++ b/src/shader_recompiler/frontend/ir/value.h
@@ -178,13 +178,9 @@ public:
/// Get a pointer to the block of a phi argument.
[[nodiscard]] Block* PhiBlock(size_t index) const;
-
/// Add phi operand to a phi instruction.
void AddPhiOperand(Block* predecessor, const Value& value);
- // Erase the phi operand at the given index.
- void ErasePhiOperand(size_t index);
-
/// Orders the Phi arguments from farthest away to nearest.
void OrderPhiArgs();