From 455bcafa3b60de2c6938998613e5e388b94e4d3b Mon Sep 17 00:00:00 2001 From: Craig Topper Date: Wed, 22 Aug 2012 05:36:44 +0000 Subject: Mark a function as static since it doesn't use anything in the class. llvm-svn: 162342 --- llvm/lib/Target/X86/X86VZeroUpper.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'llvm/lib') diff --git a/llvm/lib/Target/X86/X86VZeroUpper.cpp b/llvm/lib/Target/X86/X86VZeroUpper.cpp index 80b75dc5f99..b7cac996275 100644 --- a/llvm/lib/Target/X86/X86VZeroUpper.cpp +++ b/llvm/lib/Target/X86/X86VZeroUpper.cpp @@ -84,7 +84,7 @@ namespace { // 2) All states must be clean for the result to be clean // 3) If none above and one unknown, the result state is also unknown // - unsigned computeState(unsigned PrevState, unsigned CurState) { + static unsigned computeState(unsigned PrevState, unsigned CurState) { if (PrevState == ST_INIT) return CurState; -- cgit v1.2.3