aboutsummaryrefslogtreecommitdiff
path: root/lib/Target/X86/X86VZeroUpper.cpp
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2011-09-03 03:45:06 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2011-09-03 03:45:06 +0000
commitc53479d9c243e3331f8153840a5d1cc72b62f649 (patch)
tree746dc6a75778d3aa34f0f06c7dad349950af50d2 /lib/Target/X86/X86VZeroUpper.cpp
parent17fe6c48ffd966433496d0cd4b62215c9dc60982 (diff)
Use internal storage for command line option.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@139079 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/X86/X86VZeroUpper.cpp')
-rw-r--r--lib/Target/X86/X86VZeroUpper.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/X86/X86VZeroUpper.cpp b/lib/Target/X86/X86VZeroUpper.cpp
index d87efc99b2..3958494246 100644
--- a/lib/Target/X86/X86VZeroUpper.cpp
+++ b/lib/Target/X86/X86VZeroUpper.cpp
@@ -62,7 +62,7 @@ bool VZeroUpperInserter::runOnMachineFunction(MachineFunction &MF) {
return Changed;
}
-bool isCallToModuleFn(const MachineInstr *MI) {
+static bool isCallToModuleFn(const MachineInstr *MI) {
assert(MI->getDesc().isCall() && "Isn't a call instruction");
for (int i = 0, e = MI->getNumOperands(); i != e; ++i) {