ssa: set pointer directiface
This commit is contained in:
@@ -550,7 +550,7 @@ func (b Builder) BinOp(op token.Token, x, y Expr) Expr {
|
||||
x = b.Field(x, 0)
|
||||
y = b.Field(y, 0)
|
||||
fallthrough
|
||||
case vkFuncPtr, vkFuncDecl:
|
||||
case vkFuncPtr, vkFuncDecl, vkChan:
|
||||
switch op {
|
||||
case token.EQL:
|
||||
return Expr{llvm.CreateICmp(b.impl, llvm.IntEQ, x.impl, y.impl), tret}
|
||||
|
||||
Reference in New Issue
Block a user