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 989695b24d
commit b478815e1a

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;