mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-31 21:21:08 +00:00
(Not part of Communicator build.)
More functionality for debug print functions.
This commit is contained in:
parent
f9cf05a882
commit
a004313509
@ -1618,9 +1618,10 @@ LookupArgOrVar(JSContext *cx, JSAtom *atom, JSTreeContext *tc,
|
|||||||
JSOp *opp, jsint *slotp)
|
JSOp *opp, jsint *slotp)
|
||||||
{
|
{
|
||||||
JSObject *obj, *pobj;
|
JSObject *obj, *pobj;
|
||||||
|
JSFunction *fun;
|
||||||
JSScopeProperty *sprop;
|
JSScopeProperty *sprop;
|
||||||
|
|
||||||
obj = cx->fp->scopeChain;
|
obj = js_FindVariableScope(cx, &fun);
|
||||||
if (OBJ_GET_CLASS(cx, obj) != &js_FunctionClass)
|
if (OBJ_GET_CLASS(cx, obj) != &js_FunctionClass)
|
||||||
return JS_TRUE;
|
return JS_TRUE;
|
||||||
if (InWithStatement(tc))
|
if (InWithStatement(tc))
|
||||||
|
Loading…
Reference in New Issue
Block a user