summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/StrongPHIElimination.cpp
diff options
context:
space:
mode:
authorOwen Anderson <resistor@mac.com>2008-01-07 21:32:09 +0000
committerOwen Anderson <resistor@mac.com>2008-01-07 21:32:09 +0000
commit47299489ecaa124a07f32822f768c0316f528d91 (patch)
tree477bde6c4363ae7b335ea8f3173eead6d56dda4f /llvm/lib/CodeGen/StrongPHIElimination.cpp
parentbbc6352d1f5e2f9567c973cd1a26e7f3a2b4422b (diff)
downloadbcm5719-llvm-47299489ecaa124a07f32822f768c0316f528d91.tar.gz
bcm5719-llvm-47299489ecaa124a07f32822f768c0316f528d91.zip
Oops, missed one.
llvm-svn: 45719
Diffstat (limited to 'llvm/lib/CodeGen/StrongPHIElimination.cpp')
-rw-r--r--llvm/lib/CodeGen/StrongPHIElimination.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/StrongPHIElimination.cpp b/llvm/lib/CodeGen/StrongPHIElimination.cpp
index c3d554a3b63..3a7e1082925 100644
--- a/llvm/lib/CodeGen/StrongPHIElimination.cpp
+++ b/llvm/lib/CodeGen/StrongPHIElimination.cpp
@@ -268,7 +268,7 @@ static bool isKillInst(LiveVariables::VarInfo& V, MachineInstr* MI) {
/// trick parameter is 'mode' which tells it the relationship of the two
/// registers. 0 - defined in the same block, 1 - first properly dominates
/// second, 2 - second properly dominates first
-bool interferes(LiveVariables::VarInfo& First, LiveVariables::VarInfo& Second,
+static bool interferes(LiveVariables::VarInfo& First, LiveVariables::VarInfo& Second,
MachineBasicBlock* scan, unsigned mode) {
MachineInstr* def = 0;
MachineInstr* kill = 0;
OpenPOWER on IntegriCloud