mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 20:23:11 +01:00
[Statepoint] Use iterate_range.empty [NFC]
This commit is contained in:
parent
507fec3651
commit
321a5cfc7a
@ -869,7 +869,7 @@ SelectionDAGBuilder::LowerStatepoint(const GCStatepointInst &I,
|
||||
SI.ID = I.getID();
|
||||
|
||||
if (auto Opt = I.getOperandBundle(LLVMContext::OB_deopt)) {
|
||||
assert(ISP.deopt_begin() == ISP.deopt_end() &&
|
||||
assert(ISP.deopt_operands().empty() &&
|
||||
"can't list both deopt operands and deopt bundle");
|
||||
auto &Inputs = Opt->Inputs;
|
||||
SI.DeoptState = ArrayRef<const Use>(Inputs.begin(), Inputs.end());
|
||||
@ -877,7 +877,7 @@ SelectionDAGBuilder::LowerStatepoint(const GCStatepointInst &I,
|
||||
SI.DeoptState = ArrayRef<const Use>(ISP.deopt_begin(), ISP.deopt_end());
|
||||
}
|
||||
if (auto Opt = I.getOperandBundle(LLVMContext::OB_gc_transition)) {
|
||||
assert(ISP.gc_transition_args_begin() == ISP.gc_transition_args_end() &&
|
||||
assert(ISP.gc_transition_args().empty() &&
|
||||
"can't list both gc_transition operands and bundle");
|
||||
auto &Inputs = Opt->Inputs;
|
||||
SI.GCTransitionArgs = ArrayRef<const Use>(Inputs.begin(), Inputs.end());
|
||||
|
Loading…
Reference in New Issue
Block a user