diff options
Diffstat (limited to 'bindings/go/llvm/target.go')
-rw-r--r-- | bindings/go/llvm/target.go | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/bindings/go/llvm/target.go b/bindings/go/llvm/target.go index 314805665c4..5910b9bb924 100644 --- a/bindings/go/llvm/target.go +++ b/bindings/go/llvm/target.go @@ -121,13 +121,6 @@ func NewTargetData(rep string) (td TargetData) { return } -// Adds target data information to a pass manager. This does not take ownership -// of the target data. -// See the method llvm::PassManagerBase::add. -func (pm PassManager) Add(td TargetData) { - C.LLVMAddTargetData(td.C, pm.C) -} - // Converts target data to a target layout string. The string must be disposed // with LLVMDisposeMessage. // See the constructor llvm::TargetData::TargetData. |