[all-commits] [llvm/llvm-project] 63725e: [NFC] Remove no-op code from x86AssemblyInspection...

Jason Molenda via All-commits all-commits at lists.llvm.org
Tue Aug 2 16:28:27 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 63725ebc182d7955c569be94b845b93d14374def
      https://github.com/llvm/llvm-project/commit/63725ebc182d7955c569be94b845b93d14374def
  Author: Jason Molenda <jason at molenda.com>
  Date:   2022-08-02 (Tue, 02 Aug 2022)

  Changed paths:
    M lldb/source/Plugins/UnwindAssembly/x86/x86AssemblyInspectionEngine.cpp

  Log Message:
  -----------
  [NFC] Remove no-op code from x86AssemblyInspectionEngine::jmp_to_reg_p

Slava Gurevich noticed this dead code I wrote in jmp_to_reg_p
is never executed, is duplicated, and has comments that seem to
describe the opposite behavior.  Remove the dead code that cannot
be executed.

Differential Revision: https://reviews.llvm.org/D131029




More information about the All-commits mailing list