Bug 509301 - Value chosen for callee in args_resolve is nonsense. Fixes a debug browser assertion. r=Waldo.

This commit is contained in:
Jason Orendorff 2009-08-10 16:23:32 -05:00
parent 114f8d3c01
commit d60a115007

View File

@ -623,7 +623,8 @@ args_resolve(JSContext *cx, JSObject *obj, jsval idval, uintN flags,
if (str == ATOM_TO_STRING(atom)) {
if (TEST_OVERRIDE_BIT(fp, ARGS_CALLEE))
return true;
v = INT_TO_JSVAL(reinterpret_cast<jsint>(fp->callee));
JS_ASSERT(fp);
v = JSVAL_NULL;
} else {
return true;
}