mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
allow random clients to 'new' SILFunctions.
Swift SVN r5190
This commit is contained in:
@@ -42,14 +42,13 @@ enum class SILLinkage : unsigned char {
|
||||
/// zero or more SIL SILBasicBlock objects that contain the SILInstruction
|
||||
/// objects making up the function.
|
||||
class SILFunction
|
||||
: public llvm::ilist_node<SILFunction>, SILAllocated<SILFunction> {
|
||||
: public llvm::ilist_node<SILFunction>, public SILAllocated<SILFunction> {
|
||||
public:
|
||||
typedef llvm::iplist<SILBasicBlock> BlockListType;
|
||||
|
||||
private:
|
||||
friend class SILBasicBlock;
|
||||
friend class SILModule;
|
||||
friend class Lowering::SILGenModule;
|
||||
|
||||
/// ModuleAndLinkage - The SIL module that the function belongs to, and
|
||||
/// the function's linkage.
|
||||
|
||||
Reference in New Issue
Block a user