| 1830 | } |
| 1831 | |
| 1832 | void BeCOFFObject::AlignConst(BeCOFFSection& sect, BeConstant* constVal) |
| 1833 | { |
| 1834 | auto beType = constVal->GetType(); |
| 1835 | sect.mAlign = BF_MAX(sect.mAlign, beType->mAlign); |
| 1836 | sect.mData.Align(beType->mAlign); |
| 1837 | } |
| 1838 | |
| 1839 | void BeCOFFObject::WriteConst(BeCOFFSection& sect, BeConstant* constVal) |
| 1840 | { |