From 0b4825c38b2e2bd2805292f708610b4ad9c7bf92 Mon Sep 17 00:00:00 2001 From: Owen Anderson Date: Mon, 7 Jan 2008 21:32:09 +0000 Subject: [PATCH] Oops, missed one. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45719 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/CodeGen/StrongPHIElimination.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/CodeGen/StrongPHIElimination.cpp b/lib/CodeGen/StrongPHIElimination.cpp index c3d554a3b63..3a7e1082925 100644 --- a/lib/CodeGen/StrongPHIElimination.cpp +++ b/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;