[BOLT][NFC] Remove unused function

Summary: Remove BinaryFunction::getBasicBlockOriginalAddress().

(cherry picked from FBD32810127)
This commit is contained in:
Maksim Panchenko 2021-12-02 13:14:02 -08:00
parent ccb99dd126
commit cf624f2e63
1 changed files with 0 additions and 5 deletions

View File

@ -1087,11 +1087,6 @@ public:
Index = Idx;
}
/// Get the original address for the given basic block within this function.
uint64_t getBasicBlockOriginalAddress(const BinaryBasicBlock *BB) const {
return Address + BB->getOffset();
}
/// Return offset of the function body in the binary file.
uint64_t getFileOffset() const { return FileOffset; }