Use the appropriate return type for the compact unwind encoding.

llvm-svn: 190551
This commit is contained in:
Bill Wendling 2013-09-11 21:47:57 +00:00
parent 87afacb632
commit 11579cf46b
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;
}