Bug 980450 - Always initialize outparams in LookupOwnPropertyWithFlagsInline, r=luke.

This commit is contained in:
Brian Hackett 2014-03-07 09:36:24 -07:00
parent 4aff758393
commit 49fc2edda2

View File

@ -4007,6 +4007,9 @@ LookupOwnPropertyWithFlagsInline(ExclusiveContext *cx,
if (index < obj->template as<TypedArrayObject>().length()) {
objp.set(obj);
MarkDenseOrTypedArrayElementFound<allowGC>(propp);
} else {
objp.set(nullptr);
propp.set(nullptr);
}
*donep = true;
return true;