forked from OSchip/llvm-project
Capitalize the D in parseDirectiveGpDWord.
DWord seems to be the canonical way to camel case dword in llvm. Thanks to Daniel Sander for noticing. llvm-svn: 205191
This commit is contained in:
parent
1c1f487654
commit
2378d4c0ce
|
@ -212,7 +212,7 @@ class MipsAsmParser : public MCTargetAsmParser {
|
||||||
|
|
||||||
bool parseDataDirective(unsigned Size, SMLoc L);
|
bool parseDataDirective(unsigned Size, SMLoc L);
|
||||||
bool parseDirectiveGpWord();
|
bool parseDirectiveGpWord();
|
||||||
bool parseDirectiveGpdWord();
|
bool parseDirectiveGpDWord();
|
||||||
|
|
||||||
MCSymbolRefExpr::VariantKind getVariantKind(StringRef Symbol);
|
MCSymbolRefExpr::VariantKind getVariantKind(StringRef Symbol);
|
||||||
|
|
||||||
|
@ -2716,9 +2716,9 @@ bool MipsAsmParser::parseDirectiveGpWord() {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// parseDirectiveGpdWord
|
/// parseDirectiveGpDWord
|
||||||
/// ::= .gpdword local_sym
|
/// ::= .gpdword local_sym
|
||||||
bool MipsAsmParser::parseDirectiveGpdWord() {
|
bool MipsAsmParser::parseDirectiveGpDWord() {
|
||||||
const MCExpr *Value;
|
const MCExpr *Value;
|
||||||
// EmitGPRel64Value requires an expression, so we are using base class
|
// EmitGPRel64Value requires an expression, so we are using base class
|
||||||
// method to evaluate the expression.
|
// method to evaluate the expression.
|
||||||
|
@ -2820,7 +2820,7 @@ bool MipsAsmParser::ParseDirective(AsmToken DirectiveID) {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (IDVal == ".gpdword") {
|
if (IDVal == ".gpdword") {
|
||||||
parseDirectiveGpdWord();
|
parseDirectiveGpDWord();
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue