forked from OSchip/llvm-project
[BOLT][NFC] Remove unused function
Summary: Remove BinaryFunction::getBasicBlockOriginalAddress(). (cherry picked from FBD32810127)
This commit is contained in:
parent
ccb99dd126
commit
cf624f2e63
|
@ -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; }
|
||||
|
||||
|
|
Loading…
Reference in New Issue