Bug 798129 - Unbreak --enable-jprof and --enable-dmd builds.

--HG--
extra : rebase_source : 3028a08a8546c58f7814bb8ae3c02719388633e7
This commit is contained in:
Nicholas Nethercote 2012-10-04 16:01:32 -07:00
parent 0c77f7d61b
commit 3c85b6f213

View File

@ -2710,11 +2710,11 @@ JProfSaveCircularJS(JSContext *cx, unsigned argc, jsval *vp)
}
static JSFunctionSpec JProfFunctions[] = {
{"JProfStartProfiling", JProfStartProfilingJS, 0, 0},
{"JProfStopProfiling", JProfStopProfilingJS, 0, 0},
{"JProfClearCircular", JProfClearCircularJS, 0, 0},
{"JProfSaveCircular", JProfSaveCircularJS, 0, 0},
{nullptr, nullptr, 0, 0}
JS_FS("JProfStartProfiling", JProfStartProfilingJS, 0, 0),
JS_FS("JProfStopProfiling", JProfStopProfilingJS, 0, 0),
JS_FS("JProfClearCircular", JProfClearCircularJS, 0, 0),
JS_FS("JProfSaveCircular", JProfSaveCircularJS, 0, 0),
JS_FS_END
};
#endif /* defined(MOZ_JPROF) */
@ -2732,8 +2732,8 @@ DMDCheckJS(JSContext *cx, unsigned argc, jsval *vp)
}
static JSFunctionSpec DMDFunctions[] = {
{"DMD", DMDCheckJS, 0, 0},
{nullptr, nullptr, 0, 0}
JS_FS("DMD", DMDCheckJS, 0, 0),
JS_FS_END
};
#endif /* defined(MOZ_DMD) */