File tree 1 file changed +7
-12
lines changed
1 file changed +7
-12
lines changed Original file line number Diff line number Diff line change @@ -747,18 +747,13 @@ getStatepointBundles(std::optional<ArrayRef<T1>> TransitionArgs,
747
747
std::optional<ArrayRef<T2>> DeoptArgs,
748
748
ArrayRef<T3> GCArgs) {
749
749
std::vector<OperandBundleDef> Rval;
750
- if (DeoptArgs) {
751
- SmallVector<Value *, 16 > DeoptValues (*DeoptArgs);
752
- Rval.emplace_back (" deopt" , DeoptValues);
753
- }
754
- if (TransitionArgs) {
755
- SmallVector<Value *, 16 > TransitionValues (*TransitionArgs);
756
- Rval.emplace_back (" gc-transition" , TransitionValues);
757
- }
758
- if (GCArgs.size ()) {
759
- SmallVector<Value *, 16 > LiveValues (GCArgs);
760
- Rval.emplace_back (" gc-live" , LiveValues);
761
- }
750
+ if (DeoptArgs)
751
+ Rval.emplace_back (" deopt" , SmallVector<Value *, 16 >(*DeoptArgs));
752
+ if (TransitionArgs)
753
+ Rval.emplace_back (" gc-transition" ,
754
+ SmallVector<Value *, 16 >(*TransitionArgs));
755
+ if (GCArgs.size ())
756
+ Rval.emplace_back (" gc-live" , SmallVector<Value *, 16 >(GCArgs));
762
757
return Rval;
763
758
}
764
759
You can’t perform that action at this time.
0 commit comments