diff --git a/js/src/vm/JSObject.cpp b/js/src/vm/JSObject.cpp index ba8fba08ecf9..5125b0f99953 100644 --- a/js/src/vm/JSObject.cpp +++ b/js/src/vm/JSObject.cpp @@ -132,6 +132,7 @@ JS_PUBLIC_API const char* JS::InformalValueTypeName(const Value& v) { case ValueType::Object: return v.toObject().getClass()->name; case ValueType::Magic: + return "magic"; case ValueType::PrivateGCThing: break; }