Use enumeration for preffered EH dwarf encoding reason

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47770 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Anton Korobeynikov
2008-02-29 22:09:08 +00:00
parent 05548eb174
commit 8213f9cf94
6 changed files with 28 additions and 14 deletions

View File

@@ -25,7 +25,8 @@ namespace llvm {
explicit X86TargetAsmInfo(const X86TargetMachine &TM);
virtual bool ExpandInlineAsm(CallInst *CI) const;
virtual unsigned PreferredEHDataFormat(unsigned Reason, bool Global) const;
virtual unsigned PreferredEHDataFormat(DwarfEncoding::Target Reason,
bool Global) const;
private:
const X86TargetMachine* X86TM;