Hotfix for bug 495563.

This commit is contained in:
Andreas Gal 2009-05-29 23:17:50 -07:00
parent 1f12d31de5
commit fd0028e6e9

View File

@ -6690,7 +6690,7 @@ TraceRecorder::getThis(LIns*& this_ins)
/*
* js_ComputeThisForFrame updates cx->fp->argv[-1], so sample it into 'original' first.
*/
jsval original = cx->fp->argv[-1];
jsval original = cx->fp->callee ? cx->fp->argv[-1] : JSVAL_NULL;
JSObject* thisObj = js_ComputeThisForFrame(cx, cx->fp);
if (!thisObj)
ABORT_TRACE_ERROR("js_ComputeThisForName failed");