mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-04 06:09:05 +00:00
another minor datastructure tweak.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45874 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
a10145fdf6
commit
6e8410abf1
@ -328,7 +328,7 @@ namespace {
|
|||||||
/// safe to do so.
|
/// safe to do so.
|
||||||
Function *ArgPromotion::DoPromotion(Function *F,
|
Function *ArgPromotion::DoPromotion(Function *F,
|
||||||
SmallVectorImpl<Argument*> &Args2Prom) {
|
SmallVectorImpl<Argument*> &Args2Prom) {
|
||||||
std::set<Argument*> ArgsToPromote(Args2Prom.begin(), Args2Prom.end());
|
SmallPtrSet<Argument*, 8> ArgsToPromote(Args2Prom.begin(), Args2Prom.end());
|
||||||
|
|
||||||
// Start by computing a new prototype for the function, which is the same as
|
// Start by computing a new prototype for the function, which is the same as
|
||||||
// the old function, but has modified arguments.
|
// the old function, but has modified arguments.
|
||||||
|
Loading…
Reference in New Issue
Block a user