mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
* split the PassUtils.swift file into PassContext.swift and Passes.swift * rework `Builder` bridging allowing more insertion point variations, e.g. inserting at the end of a block. * add Builder.create functions for more instructions * add `PassContext.splitBlock` * move SIL modification functions from PassContext to extensions of the relevant types (e.g. instructions). * rename `Location.bridgedLocation` -> `Location.bridged`
18 lines
598 B
Swift
18 lines
598 B
Swift
//===--- Location.swift - Source location ---------------------------------===//
|
|
//
|
|
// This source file is part of the Swift.org open source project
|
|
//
|
|
// Copyright (c) 2014 - 2021 Apple Inc. and the Swift project authors
|
|
// Licensed under Apache License v2.0 with Runtime Library Exception
|
|
//
|
|
// See https://swift.org/LICENSE.txt for license information
|
|
// See https://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
import SILBridging
|
|
|
|
public struct Location {
|
|
let bridged: BridgedLocation
|
|
}
|