Both MCContext::MCContext and TargetMachine::getMCAsmInfo treat MCAsmInfo as a pointer that must be non-null. Make the contract explicit: * MCContext's constructor takes `const MCAsmInfo &MAI`. * TargetMachine::getMCAsmInfo returns `const MCAsmInfo &`. Make this change now since the MCContext ctor has recently been updated.
150 KiB
150 KiB