diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2016-07-10 16:11:53 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2016-07-10 16:11:53 +0000 |
commit | b308f8b812ca61429daeb01e69ceb93f8ec3aa67 (patch) | |
tree | 87b0bedb70cf05341760f76a5816c050f8e9a04a /llvm/lib/Support/Host.cpp | |
parent | cf7cc724a728e73e1b2c3258b0adb08326c802c1 (diff) | |
download | llvm-b308f8b812ca61429daeb01e69ceb93f8ec3aa67.zip llvm-b308f8b812ca61429daeb01e69ceb93f8ec3aa67.tar.gz llvm-b308f8b812ca61429daeb01e69ceb93f8ec3aa67.tar.bz2 |
[Support] Make helper function static. NFC.
llvm-svn: 275017
Diffstat (limited to 'llvm/lib/Support/Host.cpp')
-rw-r--r-- | llvm/lib/Support/Host.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Support/Host.cpp b/llvm/lib/Support/Host.cpp index e1ed96a..12ac19d 100644 --- a/llvm/lib/Support/Host.cpp +++ b/llvm/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); |