summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/expression_command/macros/TestMacros.py
diff options
context:
space:
mode:
authorReid Kleckner <rnk@google.com>2017-10-05 18:27:08 +0000
committerReid Kleckner <rnk@google.com>2017-10-05 18:27:08 +0000
commit7344282c367cd9e3816bb6048c8b3b90036d74ce (patch)
treea64fd8e871cb6eb1a029dbaf38616679e8f1b9df /lldb/packages/Python/lldbsuite/test/expression_command/macros/TestMacros.py
parentc8708e59e8ca237f4a5c3f6bf22f16a495716da5 (diff)
downloadbcm5719-llvm-7344282c367cd9e3816bb6048c8b3b90036d74ce.tar.gz
bcm5719-llvm-7344282c367cd9e3816bb6048c8b3b90036d74ce.zip
[X86] Simplify X86 epilogue frame size calculation, NFC
Sink the insertion of "pop ebp" out of the frame size calculation branches. They all check for HasFP. Our handling of CLEANUPRET and CATCHRET was equivalent, both are funclets and use the same frame size. We can eliminate the CLEANUPRET case. Hoist the hasFP(MF) query into a local bool. Rename TargetMBB to CatchRetTarget to be more descriptive. Eliminate the Optional<unsigned> RetOpcode local, now that it has one use. It's only a net savings of 10 lines, but hopefully it's *slightly* more readable. llvm-svn: 315000
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/expression_command/macros/TestMacros.py')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud