mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 20:51:52 +01:00
[Statepoint] Fix StatepointLoweringInfo::GCTransitionArgs initialization
Summary: In method SelectionDAGBuilder::LowerStatepoint, array SI.GCTransitionArgs is initialized from wrong part of ImmutableStatepoint class. We copy gc args instead of transitions args. Reviewers: reames, skatkov Subscribers: hiraditya, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D77075
This commit is contained in:
parent
58e1dd33cd
commit
1b46d94279
@ -848,8 +848,8 @@ SelectionDAGBuilder::LowerStatepoint(ImmutableStatepoint ISP,
|
||||
|
||||
SI.GCArgs = ArrayRef<const Use>(ISP.gc_args_begin(), ISP.gc_args_end());
|
||||
SI.StatepointInstr = ISP.getInstruction();
|
||||
SI.GCTransitionArgs =
|
||||
ArrayRef<const Use>(ISP.gc_args_begin(), ISP.gc_args_end());
|
||||
SI.GCTransitionArgs = ArrayRef<const Use>(ISP.gc_transition_args_begin(),
|
||||
ISP.gc_transition_args_end());
|
||||
SI.ID = ISP.getID();
|
||||
SI.DeoptState = ArrayRef<const Use>(ISP.deopt_begin(), ISP.deopt_end());
|
||||
SI.StatepointFlags = ISP.getFlags();
|
||||
|
Loading…
x
Reference in New Issue
Block a user