From bec3aff32b2c7d6e13021b4e2c102120fb725fe1 Mon Sep 17 00:00:00 2001 From: Anthony Mai Date: Fri, 25 Jan 2019 02:14:58 -0800 Subject: [PATCH] Make visible template<> void ExprNode::accept(IRVisitor *v, const Expr &e) This change is needed because of a unit test needs it: http://ci.tvm.ai:8080/blue/organizations/jenkins/tvm/detail/PR-2445/33/pipeline --- src/ir/IR.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ir/IR.cpp b/src/ir/IR.cpp index 1037c25..8966fc3 100644 --- a/src/ir/IR.cpp +++ b/src/ir/IR.cpp @@ -649,7 +649,7 @@ template<> void ExprNode::accept(IRVisitor *v, const Expr &e) const { v->vi template<> void ExprNode::accept(IRVisitor *v, const Expr &e) const { v->visit((const Sub *)this, e); } template<> void ExprNode::accept(IRVisitor *v, const Expr &e) const { v->visit((const Mul *)this, e); } template<> void ExprNode
::accept(IRVisitor *v, const Expr &e) const { v->visit((const Div *)this, e); } -template<> void ExprNode::accept(IRVisitor *v, const Expr &e) const { v->visit((const Mod *)this, e); } +template<> EXPORT void ExprNode::accept(IRVisitor *v, const Expr &e) const { v->visit((const Mod *)this, e); } template<> EXPORT void ExprNode::accept(IRVisitor *v, const Expr &e) const { v->visit((const Min *)this, e); } template<> EXPORT void ExprNode::accept(IRVisitor *v, const Expr &e) const { v->visit((const Max *)this, e); } template<> void ExprNode::accept(IRVisitor *v, const Expr &e) const { v->visit((const EQ *)this, e); }