mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-08 10:44:56 +00:00
Bug 1844277 - Part 2: Don't add unnnecessary keep-alive instructions for MLoadElementHole. r=jandem
`LLoadElementHole` doesn't perform a VM call, so we don't need to insert keep-alive instructions. Depends on D183954 Differential Revision: https://phabricator.services.mozilla.com/D183955
This commit is contained in:
parent
9b60c0788b
commit
4e89241f70
@ -4145,6 +4145,7 @@ static bool NeedsKeepAlive(MInstruction* slotsOrElements, MInstruction* use) {
|
||||
case MDefinition::Opcode::StoreFixedSlot:
|
||||
case MDefinition::Opcode::LoadElement:
|
||||
case MDefinition::Opcode::LoadElementAndUnbox:
|
||||
case MDefinition::Opcode::LoadElementHole:
|
||||
case MDefinition::Opcode::StoreElement:
|
||||
case MDefinition::Opcode::StoreHoleValueElement:
|
||||
case MDefinition::Opcode::InitializedLength:
|
||||
|
Loading…
Reference in New Issue
Block a user