mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-19 18:24:00 +00:00
Use SmallPtrSet.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40560 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -14,7 +14,7 @@
|
||||
#ifndef INLINECOST_H
|
||||
#define INLINECOST_H
|
||||
|
||||
#include <set>
|
||||
#include "llvm/ADT/SmallPtrSet.h"
|
||||
#include <map>
|
||||
#include <vector>
|
||||
|
||||
@ -73,7 +73,7 @@ namespace llvm {
|
||||
// getInlineCost - The heuristic used to determine if we should inline the
|
||||
// function call or not.
|
||||
//
|
||||
int getInlineCost(CallSite CS, std::set<const Function *> &NeverInline);
|
||||
int getInlineCost(CallSite CS, SmallPtrSet<const Function *, 16> &NeverInline);
|
||||
};
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user