From: Ayke van Laethem Date: Sat, 8 Jun 2019 22:17:51 +0000 (+0000) Subject: Revert "[bindings/go] Add Go bindings for CalledValue" X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=79303dde56e7786c3caac47890ac04d7d3724dc1;p=llvm Revert "[bindings/go] Add Go bindings for CalledValue" This reverts commit f675a60ca7a93f22e22dd4209504a9846dd04630. The commit had the wrong title/description. Sorry about the mess! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@362892 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/bindings/go/llvm/ir.go b/bindings/go/llvm/ir.go index 3bfeac942b2..71f741421e8 100644 --- a/bindings/go/llvm/ir.go +++ b/bindings/go/llvm/ir.go @@ -1275,10 +1275,6 @@ func (v Value) Indices() []uint32 { return indices } -// Operations on comparisons -func (v Value) IntPredicate() IntPredicate { return IntPredicate(C.LLVMGetICmpPredicate(v.C)) } -func (v Value) FloatPredicate() FloatPredicate { return FloatPredicate(C.LLVMGetFCmpPredicate(v.C)) } - //------------------------------------------------------------------------- // llvm.Builder //-------------------------------------------------------------------------