Once we create an instance of InlineCost, we don't change its
contents.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
It is very inconvenient to have non-static const fields.
In our downstream source we have a field of InlineCost that is changing. With this patch we cannot change the value of the field. The same problem is with locals of InlineCost type.
Consider reverting this patch, please.