[llvm] r190551 - Use the appropriate return type for the compact unwind encoding.
Bill Wendling
isanbard at gmail.com
Wed Sep 11 14:47:57 PDT 2013
Author: void
Date: Wed Sep 11 16:47:57 2013
New Revision: 190551
URL: http://llvm.org/viewvc/llvm-project?rev=190551&view=rev
Log:
Use the appropriate return type for the compact unwind encoding.
Modified:
llvm/trunk/include/llvm/MC/MCAsmBackend.h
llvm/trunk/lib/Target/X86/MCTargetDesc/X86AsmBackend.cpp
Modified: llvm/trunk/include/llvm/MC/MCAsmBackend.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/MC/MCAsmBackend.h?rev=190551&r1=190550&r2=190551&view=diff
==============================================================================
--- llvm/trunk/include/llvm/MC/MCAsmBackend.h (original)
+++ llvm/trunk/include/llvm/MC/MCAsmBackend.h Wed Sep 11 16:47:57 2013
@@ -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;
}
Modified: llvm/trunk/lib/Target/X86/MCTargetDesc/X86AsmBackend.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/MCTargetDesc/X86AsmBackend.cpp?rev=190551&r1=190550&r2=190551&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/MCTargetDesc/X86AsmBackend.cpp (original)
+++ llvm/trunk/lib/Target/X86/MCTargetDesc/X86AsmBackend.cpp Wed Sep 11 16:47:57 2013
@@ -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;
}
More information about the llvm-commits
mailing list