diff options
author | Stefan Pintilie <stefanp@ca.ibm.com> | 2017-12-20 19:07:44 +0000 |
---|---|---|
committer | Stefan Pintilie <stefanp@ca.ibm.com> | 2017-12-20 19:07:44 +0000 |
commit | dbc9cebcd362f06ebaab62b20ab1cb8efa897f27 (patch) | |
tree | 2604984751887ea1e921e936181023465041fa8b /tools | |
parent | 3c80c06a63e5ba08109680e6b4b836859c7bb769 (diff) |
[PowerPC] Added an assert to make sure that the MBBI iterator is valid.
The function createTailCallBranchInstr assumes that the iterator MBBI is valid.
However, only one use of MBBI is guarded in the function.
Fix this by adding an assert.
Differential Revision: https://reviews.llvm.org/D41358
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@321205 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions