@@ -1404,8 +1404,7 @@ bool MasmParser::parsePrimaryExpr(const MCExpr *&Res, SMLoc &EndLoc,
14041404 // temporary label to the streamer and refer to it.
14051405 MCSymbol *Sym = Ctx.createTempSymbol ();
14061406 Out.emitLabel (Sym);
1407- Res = MCSymbolRefExpr::create (Sym, MCSymbolRefExpr::VK_None,
1408- getContext ());
1407+ Res = MCSymbolRefExpr::create (Sym, getContext ());
14091408 EndLoc = FirstTokenLoc;
14101409 return false ;
14111410 }
@@ -1491,8 +1490,8 @@ bool MasmParser::parsePrimaryExpr(const MCExpr *&Res, SMLoc &EndLoc,
14911490 }
14921491
14931492 // Otherwise create a symbol ref.
1494- const MCExpr *SymRef = MCSymbolRefExpr::create (
1495- Sym, MCSymbolRefExpr::VK_None , getContext (), FirstTokenLoc);
1493+ const MCExpr *SymRef =
1494+ MCSymbolRefExpr::create (Sym , getContext (), FirstTokenLoc);
14961495 if (Info.Offset ) {
14971496 Res = MCBinaryExpr::create (
14981497 MCBinaryExpr::Add, SymRef,
@@ -1548,7 +1547,7 @@ bool MasmParser::parsePrimaryExpr(const MCExpr *&Res, SMLoc &EndLoc,
15481547 // temporary label to the streamer and refer to it.
15491548 MCSymbol *Sym = Ctx.createTempSymbol ();
15501549 Out.emitLabel (Sym);
1551- Res = MCSymbolRefExpr::create (Sym, MCSymbolRefExpr::VK_None, getContext ());
1550+ Res = MCSymbolRefExpr::create (Sym, getContext ());
15521551 EndLoc = Lexer.getTok ().getEndLoc ();
15531552 Lex (); // Eat identifier.
15541553 return false ;
0 commit comments