[llvm] r228448 - AsmParser: Use DW_TAG_hi_user instead of magic constant, NFC
Duncan P. N. Exon Smith
dexonsmith at apple.com
Fri Feb 6 14:29:36 PST 2015
Author: dexonsmith
Date: Fri Feb 6 16:29:35 2015
New Revision: 228448
URL: http://llvm.org/viewvc/llvm-project?rev=228448&view=rev
Log:
AsmParser: Use DW_TAG_hi_user instead of magic constant, NFC
Modified:
llvm/trunk/lib/AsmParser/LLParser.cpp
Modified: llvm/trunk/lib/AsmParser/LLParser.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/AsmParser/LLParser.cpp?rev=228448&r1=228447&r2=228448&view=diff
==============================================================================
--- llvm/trunk/lib/AsmParser/LLParser.cpp (original)
+++ llvm/trunk/lib/AsmParser/LLParser.cpp Fri Feb 6 16:29:35 2015
@@ -2952,7 +2952,7 @@ struct ColumnField : public MDUnsignedFi
ColumnField() : MDUnsignedField(0, UINT16_MAX) {}
};
struct DwarfTagField : public MDUnsignedField {
- DwarfTagField() : MDUnsignedField(0, ~0u >> 16) {}
+ DwarfTagField() : MDUnsignedField(0, dwarf::DW_TAG_hi_user) {}
};
struct MDField : public MDFieldImpl<Metadata *> {
MDField() : ImplTy(nullptr) {}
More information about the llvm-commits
mailing list