mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 22:01:30 +00:00
Bug 980450 - Always initialize outparams in LookupOwnPropertyWithFlagsInline, r=luke.
This commit is contained in:
parent
4aff758393
commit
49fc2edda2
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user