From: Jakub Staszak Date: Wed, 21 Nov 2012 00:59:34 +0000 (+0000) Subject: Make calcLiveInMask method static. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=e845cedf4d1ee97b0e2a14ee68d3863bdd6429dc;p=oota-llvm.git Make calcLiveInMask method static. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@168409 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/X86/X86FloatingPoint.cpp b/lib/Target/X86/X86FloatingPoint.cpp index 193d4f5da82..50d0fb5c987 100644 --- a/lib/Target/X86/X86FloatingPoint.cpp +++ b/lib/Target/X86/X86FloatingPoint.cpp @@ -111,7 +111,7 @@ namespace { EdgeBundles *Bundles; // Return a bitmask of FP registers in block's live-in list. - unsigned calcLiveInMask(MachineBasicBlock *MBB) { + static unsigned calcLiveInMask(MachineBasicBlock *MBB) { unsigned Mask = 0; for (MachineBasicBlock::livein_iterator I = MBB->livein_begin(), E = MBB->livein_end(); I != E; ++I) {