mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-04 23:08:39 +09:00
Fix build error with JS_HAS_TOSOURCE undefined.
This commit is contained in:
parent
7c9325064a
commit
5aa6fbb0ae
1 changed files with 4 additions and 1 deletions
|
|
@ -3070,8 +3070,11 @@ js::ValueToSource(JSContext* cx, HandleValue v)
|
|||
|
||||
return ToString<CanGC>(cx, v);
|
||||
}
|
||||
|
||||
#if JS_HAS_TOSOURCE
|
||||
return ObjectToSource(cx, obj);
|
||||
#else
|
||||
return ToString<CanGC>(cx, v);
|
||||
#endif
|
||||
}
|
||||
|
||||
JSString*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue