Bug 1296087: Improve getter cache r=nbp

--HG--
extra : rebase_source : f533477e09d0ecd6b3f3b9de74cd9728b92d633c
This commit is contained in:
Michael Smith 2016-08-17 13:53:08 -07:00
parent 1b7ab73a1e
commit c0d87090ab

View File

@ -1113,7 +1113,7 @@ GenerateCallGetter(JSContext* cx, IonScript* ion, MacroAssembler& masm,
// Note: this may clobber the object register if it's used as scratch.
if (obj != holder)
GeneratePrototypeGuards(cx, ion, masm, obj, holder, object, scratchReg, failures);
GeneratePrototypeGuards(cx, ion, masm, obj, holder, object, scratchReg, maybePopAndFail);
// Guard on the holder's shape.
Register holderReg = scratchReg;