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

fix debug error (#56787)

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