[PATCH] D17193: Remove LLVMGetTargetMachineData in go-binding.
Haojian Wu via llvm-commits
llvm-commits at lists.llvm.org
Fri Feb 12 03:39:31 PST 2016
This revision was automatically updated to reflect the committed changes.
Closed by commit rL260670: Remove LLVMGetTargetMachineData in go-binding. (authored by hokein).
Changed prior to commit:
http://reviews.llvm.org/D17193?vs=47784&id=47785#toc
Repository:
rL LLVM
http://reviews.llvm.org/D17193
Files:
llvm/trunk/bindings/go/llvm/target.go
Index: llvm/trunk/bindings/go/llvm/target.go
===================================================================
--- llvm/trunk/bindings/go/llvm/target.go
+++ llvm/trunk/bindings/go/llvm/target.go
@@ -267,11 +267,6 @@
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D17193.47785.patch
Type: text/x-patch
Size: 555 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160212/887feb07/attachment.bin>
More information about the llvm-commits
mailing list