mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-24 22:24:54 +00:00
Use a SmallPtrSet instead of std::set.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@67578 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -20,7 +20,6 @@
|
||||
#include "llvm/CallGraphSCCPass.h"
|
||||
#include "llvm/Transforms/Utils/InlineCost.h"
|
||||
#include "llvm/Target/TargetData.h"
|
||||
#include <set>
|
||||
|
||||
|
||||
namespace llvm {
|
||||
@@ -48,7 +47,7 @@ struct Inliner : public CallGraphSCCPass {
|
||||
|
||||
// InlineCallIfPossible
|
||||
bool InlineCallIfPossible(CallSite CS, CallGraph &CG,
|
||||
const std::set<Function*> &SCCFunctions,
|
||||
const SmallPtrSet<Function*, 8> &SCCFunctions,
|
||||
const TargetData &TD);
|
||||
|
||||
/// This method returns the value specified by the -inline-threshold value,
|
||||
|
Reference in New Issue
Block a user