mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Fix MSVC-only errors and a warning.
This commit is contained in:
parent
b9b63b7f8e
commit
a212e74aed
@ -1291,7 +1291,7 @@ static JSBool
|
||||
DebugFrameEval(JSContext *cx, uintN argc, Value *vp, EvalBindingsMode mode)
|
||||
{
|
||||
REQUIRE_ARGC(mode == WithBindings ? "Debug.Frame.evalWithBindings" : "Debug.Frame.eval",
|
||||
mode == WithBindings ? 2 : 1);
|
||||
uintN(mode == WithBindings ? 2 : 1));
|
||||
THIS_FRAME(cx, vp, mode == WithBindings ? "evalWithBindings" : "eval", thisobj, fp);
|
||||
Debug *dbg = Debug::fromChildJSObject(&vp[1].toObject());
|
||||
|
||||
|
@ -54,7 +54,7 @@
|
||||
namespace js {
|
||||
|
||||
class Debug {
|
||||
friend JSBool ::JS_DefineDebugObject(JSContext *cx, JSObject *obj);
|
||||
friend JSBool (::JS_DefineDebugObject)(JSContext *cx, JSObject *obj);
|
||||
|
||||
private:
|
||||
JSCList link; // See JSRuntime::debuggerList.
|
||||
|
Loading…
Reference in New Issue
Block a user