[llvm] r275017 - [Support] Make helper function static. NFC.
Benjamin Kramer via llvm-commits
llvm-commits at lists.llvm.org
Sun Jul 10 09:11:54 PDT 2016
Author: d0k
Date: Sun Jul 10 11:11:53 2016
New Revision: 275017
URL: http://llvm.org/viewvc/llvm-project?rev=275017&view=rev
Log:
[Support] Make helper function static. NFC.
Modified:
llvm/trunk/lib/Support/Host.cpp
Modified: llvm/trunk/lib/Support/Host.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Support/Host.cpp?rev=275017&r1=275016&r2=275017&view=diff
==============================================================================
--- llvm/trunk/lib/Support/Host.cpp (original)
+++ llvm/trunk/lib/Support/Host.cpp Sun Jul 10 11:11:53 2016
@@ -703,8 +703,8 @@ static void getAMDProcessorTypeAndSubtyp
}
}
-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);
More information about the llvm-commits
mailing list