Skip to content

Commit 7a9922b

Browse files
committed
Workaround for crash.
1 parent 8607e25 commit 7a9922b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/relax/backend/contrib/codegen_json/codegen_json.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,9 @@ class JSONSerializer : public relax::MemoizedExprTranslator<NodeEntries> {
202202
* \param constant_names The names of all constants in the original module.
203203
*/
204204
explicit JSONSerializer(const ffi::Map<Constant, ffi::String>& constant_names)
205-
: constant_names_(constant_names) {}
205+
: constant_names_(constant_names) {
206+
LOG(WARNING) << "JSONSerializer";
207+
}
206208

207209
void serialize(Function func) {
208210
// First we convert all the parameters into input nodes.

0 commit comments

Comments
 (0)