OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e7338cd
)
Mark a function as static since it doesn't use anything in the class.
author
Craig Topper
<craig.topper@gmail.com>
Wed, 22 Aug 2012 05:36:44 +0000
(
05:36
+0000)
committer
Craig Topper
<craig.topper@gmail.com>
Wed, 22 Aug 2012 05:36:44 +0000
(
05:36
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@162342
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/X86/X86VZeroUpper.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/X86/X86VZeroUpper.cpp
b/lib/Target/X86/X86VZeroUpper.cpp
index
80b75dc
..
b7cac99
100644
(file)
--- 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;