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:
80f3984
)
[Support] Make helper function static. NFC.
author
Benjamin Kramer
<benny.kra@googlemail.com>
Sun, 10 Jul 2016 16:11:53 +0000
(16:11 +0000)
committer
Benjamin Kramer
<benny.kra@googlemail.com>
Sun, 10 Jul 2016 16:11:53 +0000
(16:11 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@275017
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Support/Host.cpp
patch
|
blob
|
history
diff --git
a/lib/Support/Host.cpp
b/lib/Support/Host.cpp
index
e1ed96a
..
12ac19d
100644
(file)
--- a/
lib/Support/Host.cpp
+++ b/
lib/Support/Host.cpp
@@
-703,8
+703,8
@@
static void getAMDProcessorTypeAndSubtype(unsigned int Family,
}
}
-unsigned getAvailableFeatures(unsigned int ECX, unsigned int EDX,
- unsigned MaxLeaf) {
+
static
unsigned getAvailableFeatures(unsigned int ECX, unsigned int EDX,
+
unsigned MaxLeaf) {
unsigned Features = 0;
unsigned int EAX, EBX;
Features |= (((EDX >> 23) & 1) << FEATURE_MMX);