[BOLT][NFC] Move printDebugInfo out of BC::printInstruction
authorAmir Ayupov <aaupov@fb.com>
Sat, 11 Jun 2022 18:58:10 +0000 (11:58 -0700)
committerAmir Aupov <amir.aupov@gmail.com>
Sat, 11 Jun 2022 18:58:36 +0000 (11:58 -0700)
commit7dee646b28bf6ccd95663dbece6fea12c2d8884c
tree2b8fe813c71da4fdeba1cb1bb4c98d4c8ed5e3a2
parenta838043f387139cd470a3d2aa450ae6e04abd3c7
[BOLT][NFC] Move printDebugInfo out of BC::printInstruction

Simplify `BinaryContext::printInstruction`.

Reviewed By: ayermolo

Differential Revision: https://reviews.llvm.org/D127561
bolt/include/bolt/Core/BinaryContext.h
bolt/lib/Core/BinaryContext.cpp