CodeGenModule::getTarget() is implemented as a trivial call to
CodeGenModule::getContext().getTargetInfo(), however, the two are
called interchangeably from other functions without any apparent
semantic distinction between the two.

Since the latter usage is more prevalent and is more fundamental
anyway, I've eliminated the former and converted all usages to the
latter. Also, I've removed CodeGenTypes::getTarget(), since it wasn't
being used.

Please review and commit on my behalf if this is ok.

Thanks,
Stephen

Attachment: clean-target-info.patch
Description: Binary data

_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to