summaryrefslogtreecommitdiff
path: root/libunwindstack/RegsX86.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libunwindstack/RegsX86.cpp')
-rw-r--r--libunwindstack/RegsX86.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/libunwindstack/RegsX86.cpp b/libunwindstack/RegsX86.cpp
index 5538fc0be..4d3c246a4 100644
--- a/libunwindstack/RegsX86.cpp
+++ b/libunwindstack/RegsX86.cpp
@@ -50,13 +50,6 @@ void RegsX86::set_sp(uint64_t sp) {
regs_[X86_REG_SP] = static_cast<uint32_t>(sp);
}
-uint64_t RegsX86::GetPcAdjustment(uint64_t rel_pc, Elf*) {
- if (rel_pc == 0) {
- return 0;
- }
- return 1;
-}
-
bool RegsX86::SetPcFromReturnAddress(Memory* process_memory) {
// Attempt to get the return address from the top of the stack.
uint32_t new_pc;