Skip to content

Commit 0f977a9

Browse files
committed
Print Stream properly
1 parent 6e144b1 commit 0f977a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

csrc/host_ir/ir.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ std::string Stream::toString(int indent_size) const {
197197
std::stringstream ss;
198198
indent(ss, indent_size) << "Stream ";
199199
if (index() == nullptr) {
200-
ss << name();
200+
ss << static_cast<const void*>(this);
201201
} else {
202202
ss << index()->toInlineString();
203203
}

0 commit comments

Comments
 (0)