Index: src/objects-printer.cc |
diff --git a/src/objects-printer.cc b/src/objects-printer.cc |
index 889e9b8c00af8bce4e00b25620dd4f7f21765151..22a7aa536a0fba49c6f5ffb1acaa80ddb7f97c0e 100644 |
--- a/src/objects-printer.cc |
+++ b/src/objects-printer.cc |
@@ -153,6 +153,10 @@ void HeapObject::HeapObjectPrint(std::ostream& os) { // NOLINT |
case JS_ARGUMENTS_TYPE: |
case JS_ERROR_TYPE: |
case JS_PROMISE_CAPABILITY_TYPE: |
+ case WASM_INSTANCE_TYPE: // TODO(titzer): debug printing for wasm objects |
+ case WASM_MEMORY_TYPE: |
+ case WASM_MODULE_TYPE: |
+ case WASM_TABLE_TYPE: |
JSObject::cast(this)->JSObjectPrint(os); |
break; |
case JS_PROMISE_TYPE: |