Use the appropriate return type for the compact unwind encoding.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@190551 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Bill Wendling 2013-09-11 21:47:57 +00:00
parent a5d756ca39
commit 2c35f3b3b1
2 changed files with 3 additions and 3 deletions

View File

@ -162,7 +162,7 @@ public:
virtual void handleAssemblerFlag(MCAssemblerFlag Flag) {}
/// \brief Generate the compact unwind encoding for the CFI instructions.
virtual unsigned
virtual uint32_t
generateCompactUnwindEncoding(ArrayRef<MCCFIInstruction>) const {
return 0;
}

View File

@ -722,7 +722,7 @@ public:
}
/// \brief Generate the compact unwind encoding for the CFI instructions.
virtual unsigned
virtual uint32_t
generateCompactUnwindEncoding(ArrayRef<MCCFIInstruction> Instrs) const {
return SupportsCU ? generateCompactUnwindEncodingImpl(Instrs) : 0;
}
@ -777,7 +777,7 @@ public:
}
/// \brief Generate the compact unwind encoding for the CFI instructions.
virtual unsigned
virtual uint32_t
generateCompactUnwindEncoding(ArrayRef<MCCFIInstruction> Instrs) const {
return SupportsCU ? generateCompactUnwindEncodingImpl(Instrs) : 0;
}