SwiftCompilerSources: add EndLifetimeInst

This commit is contained in:
Erik Eckstein
2023-11-16 13:48:45 +01:00
parent b948ccf1ae
commit 37c715c58c
5 changed files with 13 additions and 0 deletions

View File

@@ -187,6 +187,11 @@ public struct Builder {
return notifyNew(bridged.createDestroyAddr(address.bridged).getAs(DestroyAddrInst.self))
}
@discardableResult
public func createEndLifetime(of value: Value) -> EndLifetimeInst {
return notifyNew(bridged.createEndLifetime(value.bridged).getAs(EndLifetimeInst.self))
}
@discardableResult
public func createDebugStep() -> DebugStepInst {
return notifyNew(bridged.createDebugStep().getAs(DebugStepInst.self))