diff options
author | Sean Callanan <scallanan@apple.com> | 2010-05-11 01:27:08 +0000 |
---|---|---|
committer | Sean Callanan <scallanan@apple.com> | 2010-05-11 01:27:08 +0000 |
commit | 972bf8dea1001134f575a1c6362e1c12eed579d0 (patch) | |
tree | 82a34538e33eeaf6e66b6655d4e5371aec4b6ecd /tools/llvm-mc/Disassembler.cpp | |
parent | 0ce537a9db2da085ab50b15d2454cb7cac460eb7 (diff) | |
download | external_llvm-972bf8dea1001134f575a1c6362e1c12eed579d0.zip external_llvm-972bf8dea1001134f575a1c6362e1c12eed579d0.tar.gz external_llvm-972bf8dea1001134f575a1c6362e1c12eed579d0.tar.bz2 |
Extended the edis "IsBranch" property to call
instructions as well. Added support for checking
this to the llvm-mc tester as well.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@103454 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/llvm-mc/Disassembler.cpp')
-rw-r--r-- | tools/llvm-mc/Disassembler.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/llvm-mc/Disassembler.cpp b/tools/llvm-mc/Disassembler.cpp index e2120c2..37b2cb8 100644 --- a/tools/llvm-mc/Disassembler.cpp +++ b/tools/llvm-mc/Disassembler.cpp @@ -314,6 +314,11 @@ int Disassembler::disassembleEnhanced(const std::string &TS, } outs() << " "; + + if (EDInstIsBranch(inst)) + outs() << "<br> "; + if (EDInstIsMove(inst)) + outs() << "<mov> "; int numOperands = EDNumOperands(inst); |