Defend against compiler pseudo-frames (417944, r=shaver).
git-svn-id: svn://10.0.0.236/trunk@245846 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
9f7800e8cc
commit
1e6fe5a1b7
@ -1090,7 +1090,7 @@ JS_GetFrameCallObject(JSContext *cx, JSStackFrame *fp)
|
||||
JS_PUBLIC_API(JSObject *)
|
||||
JS_GetFrameThis(JSContext *cx, JSStackFrame *fp)
|
||||
{
|
||||
if (!fp->thisp) {
|
||||
if (!fp->thisp && fp->argv) {
|
||||
fp->thisp = js_ComputeThis(cx, JS_TRUE, fp->argv);
|
||||
if (!fp->thisp)
|
||||
return NULL;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user