mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Small refactoring in RRCM.
This commit is contained in:
@@ -46,10 +46,6 @@ namespace {
|
||||
// Utility
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
static bool isReleaseInstruction(SILInstruction *I) {
|
||||
return isa<StrongReleaseInst>(I) || isa<ReleaseValueInst>(I);
|
||||
}
|
||||
|
||||
static void createRefCountOpForPayload(SILBuilder &Builder, SILInstruction *I,
|
||||
EnumElementDecl *EnumDecl,
|
||||
SILValue DefOfEnum = SILValue()) {
|
||||
|
||||
Reference in New Issue
Block a user