Bug 1112774 - Add a raft of other conversion methods to js/public/Conversions.h past just JS::ToObject. r=jorendorff

This commit is contained in:
Jeff Walden
2014-12-17 13:50:20 -08:00
parent f80a1da0cc
commit 1a4b59c733
9 changed files with 228 additions and 216 deletions

View File

@@ -3560,7 +3560,7 @@ js::PrimitiveToObject(JSContext *cx, const Value &v)
* Callers must handle the already-object case.
*/
JSObject *
js::ToObjectSlow(JSContext *cx, HandleValue val, bool reportScanStack)
js::ToObjectSlow(JSContext *cx, JS::HandleValue val, bool reportScanStack)
{
MOZ_ASSERT(!val.isMagic());
MOZ_ASSERT(!val.isObject());