HomePhabricator

X86Parser: Fix potential reference to deleted object

Description

X86Parser: Fix potential reference to deleted object

Within the MatchFPUWaitAlias function, Operands[0] is potentially overwritten leading to &Op referencing a deleted object. To fix this, assign the reference after the function.

Differential Revision: https://reviews.llvm.org/D57376

Details

Committed
ctopperMar 25 2019, 8:12 PM
Differential Revision
D57376: X86Parser: Fix potential reference to deleted object
Parents
rL356972: X86AsmParser: Do not process a non-existent token
Branches
Unknown
Tags
Unknown