mirror of
https://github.com/RPCS3/llvm.git
synced 2025-02-24 21:00:36 +00:00
[Coroutines] Move class into anonymous namespace.
Hopefully fixes visibility warnings from GCC. No functionality change. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@278485 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
2790d230b8
commit
94e4f70d0e
@ -22,6 +22,7 @@ using namespace llvm;
|
|||||||
|
|
||||||
#define DEBUG_TYPE "coro-elide"
|
#define DEBUG_TYPE "coro-elide"
|
||||||
|
|
||||||
|
namespace {
|
||||||
// Created on demand if CoroElide pass has work to do.
|
// Created on demand if CoroElide pass has work to do.
|
||||||
struct Lowerer : coro::LowererBase {
|
struct Lowerer : coro::LowererBase {
|
||||||
SmallVector<CoroIdInst *, 4> CoroIds;
|
SmallVector<CoroIdInst *, 4> CoroIds;
|
||||||
@ -36,6 +37,7 @@ struct Lowerer : coro::LowererBase {
|
|||||||
void elideHeapAllocations(Function *F, Type *FrameTy, AAResults &AA);
|
void elideHeapAllocations(Function *F, Type *FrameTy, AAResults &AA);
|
||||||
bool processCoroId(CoroIdInst *, AAResults &AA);
|
bool processCoroId(CoroIdInst *, AAResults &AA);
|
||||||
};
|
};
|
||||||
|
} // end anonymous namespace
|
||||||
|
|
||||||
// Go through the list of coro.subfn.addr intrinsics and replace them with the
|
// Go through the list of coro.subfn.addr intrinsics and replace them with the
|
||||||
// provided constant.
|
// provided constant.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user