File tree Expand file tree Collapse file tree 2 files changed +2
-16
lines changed Expand file tree Collapse file tree 2 files changed +2
-16
lines changed Original file line number Diff line number Diff line change @@ -171,7 +171,8 @@ class ReturnValueSlot {
171
171
172
172
public:
173
173
ReturnValueSlot () = default;
174
- ReturnValueSlot (Address addr, bool isVolatile) : addr(addr), isVolatileFlag(isVolatile) {}
174
+ ReturnValueSlot (Address addr, bool isVolatile)
175
+ : addr(addr), isVolatileFlag(isVolatile) {}
175
176
bool isNull () const { return !addr.isValid (); }
176
177
bool isVolatile () const { return isVolatileFlag; }
177
178
Address getAddress () const { return addr; }
Original file line number Diff line number Diff line change @@ -113,21 +113,6 @@ class RValue {
113
113
er.isVolatile = isVolatile;
114
114
return er;
115
115
}
116
-
117
- // FIXME: Aggregate rvalues need to retain information about whether they are
118
- // volatile or not. Remove default to find all places that probably get this
119
- // wrong.
120
-
121
- // / Convert an Address to an RValue. If the Address is not
122
- // / signed, create an RValue using the unsigned address. Otherwise, resign the
123
- // / address using the provided type.
124
- static RValue getAggregate (Address addr, bool isVolatile = false ) {
125
- RValue ER;
126
- ER.aggregateAddr = addr;
127
- ER.flavor = Aggregate;
128
- ER.isVolatile = isVolatile;
129
- return ER;
130
- }
131
116
};
132
117
133
118
// / The source of the alignment of an l-value; an expression of
You can’t perform that action at this time.
0 commit comments