diff --git a/bindings/go/llvm/target.go b/bindings/go/llvm/target.go index 6b1895b9ac60..314805665c48 100644 --- a/bindings/go/llvm/target.go +++ b/bindings/go/llvm/target.go @@ -267,11 +267,6 @@ func (tm TargetMachine) Triple() string { return C.GoString(cstr) } -// TargetData returns the TargetData for the machine. -func (tm TargetMachine) TargetData() TargetData { - return TargetData{C.LLVMGetTargetMachineData(tm.C)} -} - func (tm TargetMachine) EmitToMemoryBuffer(m Module, ft CodeGenFileType) (MemoryBuffer, error) { var errstr *C.char var mb MemoryBuffer