diff options
author | Evan Cheng <evan.cheng@apple.com> | 2011-08-23 20:15:21 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2011-08-23 20:15:21 +0000 |
commit | 7801136b95d1fbe515b9655b73ada39b05a33559 (patch) | |
tree | ff75c7f27a25aeea99b1e06eb3dc96d955978bf9 /include/llvm/MC/MCInstrAnalysis.h | |
parent | acc8f2d938dbf00c79c34f4541a5a05662964797 (diff) | |
download | external_llvm-7801136b95d1fbe515b9655b73ada39b05a33559.zip external_llvm-7801136b95d1fbe515b9655b73ada39b05a33559.tar.gz external_llvm-7801136b95d1fbe515b9655b73ada39b05a33559.tar.bz2 |
Some refactoring so TargetRegistry.h no longer has to include any files
from MC.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138367 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/MC/MCInstrAnalysis.h')
-rw-r--r-- | include/llvm/MC/MCInstrAnalysis.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/llvm/MC/MCInstrAnalysis.h b/include/llvm/MC/MCInstrAnalysis.h index 4647683..8f3c499 100644 --- a/include/llvm/MC/MCInstrAnalysis.h +++ b/include/llvm/MC/MCInstrAnalysis.h @@ -23,8 +23,9 @@ protected: friend class Target; const MCInstrInfo *Info; - MCInstrAnalysis(const MCInstrInfo *Info) : Info(Info) {} public: + MCInstrAnalysis(const MCInstrInfo *Info) : Info(Info) {} + virtual ~MCInstrAnalysis() {} virtual bool isBranch(const MCInst &Inst) const { |