未验证 提交 39e399cc 编写于 作者: Z zyfncg 提交者: GitHub

increase some log level in ir to avoid too much log (#56070)

上级 ba992136
...@@ -121,7 +121,7 @@ void *OpInfoImpl::GetInterfaceImpl(TypeId interface_id) const { ...@@ -121,7 +121,7 @@ void *OpInfoImpl::GetInterfaceImpl(TypeId interface_id) const {
} }
void OpInfoImpl::Destroy() { void OpInfoImpl::Destroy() {
VLOG(6) << "Destroy op_info impl at " << this; VLOG(10) << "Destroy op_info impl at " << this;
// (1) free interfaces // (1) free interfaces
char *base_ptr = reinterpret_cast<char *>(this) - char *base_ptr = reinterpret_cast<char *>(this) -
sizeof(ir::TypeId) * num_traits_ - sizeof(ir::TypeId) * num_traits_ -
...@@ -134,7 +134,7 @@ void OpInfoImpl::Destroy() { ...@@ -134,7 +134,7 @@ void OpInfoImpl::Destroy() {
} }
} }
// (2) free memeory // (2) free memeory
VLOG(6) << "Free base_ptr " << reinterpret_cast<void *>(base_ptr); VLOG(10) << "Free base_ptr " << reinterpret_cast<void *>(base_ptr);
free(base_ptr); free(base_ptr);
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册