File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
llvm/lib/Target/X86/AsmParser Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -413,7 +413,7 @@ class X86AsmParser : public MCTargetAsmParser {
413
413
return State == IES_RBRAC || State == IES_INTEGER;
414
414
}
415
415
bool hadError () { return State == IES_ERROR; }
416
- InlineAsmIdentifierInfo &getIdentifierInfo () { return Info; }
416
+ const InlineAsmIdentifierInfo &getIdentifierInfo () const { return Info; }
417
417
418
418
void onOr () {
419
419
IntelExprState CurrState = State;
@@ -2313,7 +2313,7 @@ bool X86AsmParser::ParseIntelOperand(OperandVector &Operands) {
2313
2313
// and we are parsing a segment override
2314
2314
if (!SM.isMemExpr () && !RegNo) {
2315
2315
if (isParsingMSInlineAsm () && SM.isOffsetOperator ()) {
2316
- const InlineAsmIdentifierInfo Info = SM.getIdentifierInfo ();
2316
+ const InlineAsmIdentifierInfo & Info = SM.getIdentifierInfo ();
2317
2317
if (Info.isKind (InlineAsmIdentifierInfo::IK_Var)) {
2318
2318
// Disp includes the address of a variable; make sure this is recorded
2319
2319
// for later handling.
You can’t perform that action at this time.
0 commit comments