未验证 提交 487660a1 编写于 作者: engineer1109's avatar engineer1109 提交者: GitHub

fix debug error (#56787)

fix style
上级 3c2276e6
......@@ -264,10 +264,7 @@ uint32_t OpResultImpl::GetResultIndex() const {
return ir::dyn_cast<OpInlineResultImpl>(this)->GetResultIndex();
}
OpResultImpl::~OpResultImpl() {
assert(use_empty() &&
owner()->name() + " operation destroyed but still has uses.");
}
OpResultImpl::~OpResultImpl() { assert(use_empty()); }
ir::Operation *OpResultImpl::owner() const {
// For inline result, pointer offset index to obtain the address of op.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册