[Support] Make helper function static. NFC.

llvm-svn: 275017
This commit is contained in:
Benjamin Kramer 2016-07-10 16:11:53 +00:00
parent cf7cc724a7
commit b308f8b812
1 changed files with 2 additions and 2 deletions

View File

@ -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);