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 bd22dac370
commit c9a13eaac6

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;