mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 800568 - Remove spurious use of potentially-nonexistant pushedTypes in callGetter IC code. (r=nbp)
This commit is contained in:
parent
a5df34dfbf
commit
fee107739d
@ -273,7 +273,7 @@ struct GetNativePropertyStub
|
||||
bool generateCallGetter(JSContext *cx, MacroAssembler &masm, JSObject *obj,
|
||||
PropertyName *propName, JSObject *holder, const Shape *shape,
|
||||
RegisterSet &liveRegs, Register object, TypedOrValueRegister output,
|
||||
types::TypeSet *outputTypes, void *returnAddr, jsbytecode *pc,
|
||||
void *returnAddr, jsbytecode *pc,
|
||||
RepatchLabel *failures, Label *nonRepatchFailures = NULL)
|
||||
{
|
||||
// Initial shape check.
|
||||
@ -585,13 +585,9 @@ IonCacheGetProperty::attachCallGetter(JSContext *cx, IonScript *ion, JSObject *o
|
||||
// properly constructed.
|
||||
masm.setFramePushed(ion->frameSize());
|
||||
|
||||
// Generating a call getter may need the pushed typeset.
|
||||
types::StackTypeSet *outputTypes = script->analysis()->pushedTypes(pc, 0);
|
||||
|
||||
GetNativePropertyStub getprop;
|
||||
if (!getprop.generateCallGetter(cx, masm, obj, name(), holder, shape, liveRegs,
|
||||
object(), output(), outputTypes, returnAddr, pc,
|
||||
&failures))
|
||||
object(), output(), returnAddr, pc, &failures))
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user