[llvm] r362892 - Revert "[bindings/go] Add Go bindings for CalledValue"

Ayke van Laethem via llvm-commits llvm-commits at lists.llvm.org
Sat Jun 8 15:17:51 PDT 2019


Author: aykevl
Date: Sat Jun  8 15:17:51 2019
New Revision: 362892

URL: http://llvm.org/viewvc/llvm-project?rev=362892&view=rev
Log:
Revert "[bindings/go] Add Go bindings for CalledValue"

This reverts commit f675a60ca7a93f22e22dd4209504a9846dd04630.
The commit had the wrong title/description. Sorry about the mess!

Modified:
    llvm/trunk/bindings/go/llvm/ir.go

Modified: llvm/trunk/bindings/go/llvm/ir.go
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/bindings/go/llvm/ir.go?rev=362892&r1=362891&r2=362892&view=diff
==============================================================================
--- llvm/trunk/bindings/go/llvm/ir.go (original)
+++ llvm/trunk/bindings/go/llvm/ir.go Sat Jun  8 15:17:51 2019
@@ -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
 //-------------------------------------------------------------------------




More information about the llvm-commits mailing list