diff options
author | Craig Topper <craig.topper@gmail.com> | 2012-08-22 05:36:44 +0000 |
---|---|---|
committer | Craig Topper <craig.topper@gmail.com> | 2012-08-22 05:36:44 +0000 |
commit | f7c4d26f77465d731054021ba6bdde556e9f25b7 (patch) | |
tree | 4f6a0081967ef306f82d0d8a5003947629716c61 | |
parent | e7338cd550a4ccde6796d2987b482ea9f0e239ef (diff) | |
download | llvm-f7c4d26f77465d731054021ba6bdde556e9f25b7.tar.gz llvm-f7c4d26f77465d731054021ba6bdde556e9f25b7.tar.bz2 llvm-f7c4d26f77465d731054021ba6bdde556e9f25b7.tar.xz |
Mark a function as static since it doesn't use anything in the class.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@162342 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Target/X86/X86VZeroUpper.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/X86/X86VZeroUpper.cpp b/lib/Target/X86/X86VZeroUpper.cpp index 80b75dc5f9..b7cac99627 100644 --- a/lib/Target/X86/X86VZeroUpper.cpp +++ b/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; |