mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 865192 - Remove unnecessary toPhi() coercion, r=dvander.
This commit is contained in:
parent
c5f1a2eafa
commit
c256883c4a
@ -908,11 +908,11 @@ IonBuilder::maybeAddOsrTypeBarriers()
|
||||
for (uint32_t i = info().startArgSlot(); i < osrBlock->stackDepth(); i++) {
|
||||
MInstruction *def = osrBlock->getSlot(i)->toOsrValue();
|
||||
|
||||
MPhi *headerPhi = header->getSlot(i)->toPhi();
|
||||
MDefinition *headerValue = header->getSlot(i);
|
||||
MPhi *preheaderPhi = preheader->getSlot(i)->toPhi();
|
||||
|
||||
MIRType type = headerPhi->type();
|
||||
types::StackTypeSet *typeSet = headerPhi->resultTypeSet();
|
||||
MIRType type = headerValue->type();
|
||||
types::StackTypeSet *typeSet = headerValue->resultTypeSet();
|
||||
|
||||
if (!addOsrValueTypeBarrier(i, &def, type, typeSet))
|
||||
return false;
|
||||
|
Loading…
Reference in New Issue
Block a user