mirror of
				https://github.com/c64scene-ar/llvm-6502.git
				synced 2025-10-31 08:16:47 +00:00 
			
		
		
		
	MC: Clean up method names in MCContext.
The naming was a mish-mash of old and new style. Update to be consistent with the new. NFC. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@237594 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
		| @@ -272,7 +272,7 @@ bool COFFAsmParser::ParseDirectiveSymbolAttribute(StringRef Directive, SMLoc) { | ||||
|       if (getParser().parseIdentifier(Name)) | ||||
|         return TokError("expected identifier in directive"); | ||||
|  | ||||
|       MCSymbol *Sym = getContext().GetOrCreateSymbol(Name); | ||||
|       MCSymbol *Sym = getContext().getOrCreateSymbol(Name); | ||||
|  | ||||
|       getStreamer().EmitSymbolAttribute(Sym, Attr); | ||||
|  | ||||
| @@ -398,7 +398,7 @@ bool COFFAsmParser::ParseDirectiveDef(StringRef, SMLoc) { | ||||
|   if (getParser().parseIdentifier(SymbolName)) | ||||
|     return TokError("expected identifier in directive"); | ||||
|  | ||||
|   MCSymbol *Sym = getContext().GetOrCreateSymbol(SymbolName); | ||||
|   MCSymbol *Sym = getContext().getOrCreateSymbol(SymbolName); | ||||
|  | ||||
|   getStreamer().BeginCOFFSymbolDef(Sym); | ||||
|  | ||||
| @@ -446,7 +446,7 @@ bool COFFAsmParser::ParseDirectiveSecRel32(StringRef, SMLoc) { | ||||
|   if (getLexer().isNot(AsmToken::EndOfStatement)) | ||||
|     return TokError("unexpected token in directive"); | ||||
|  | ||||
|   MCSymbol *Symbol = getContext().GetOrCreateSymbol(SymbolID); | ||||
|   MCSymbol *Symbol = getContext().getOrCreateSymbol(SymbolID); | ||||
|  | ||||
|   Lex(); | ||||
|   getStreamer().EmitCOFFSecRel32(Symbol); | ||||
| @@ -461,7 +461,7 @@ bool COFFAsmParser::ParseDirectiveSecIdx(StringRef, SMLoc) { | ||||
|   if (getLexer().isNot(AsmToken::EndOfStatement)) | ||||
|     return TokError("unexpected token in directive"); | ||||
|  | ||||
|   MCSymbol *Symbol = getContext().GetOrCreateSymbol(SymbolID); | ||||
|   MCSymbol *Symbol = getContext().getOrCreateSymbol(SymbolID); | ||||
|  | ||||
|   Lex(); | ||||
|   getStreamer().EmitCOFFSectionIndex(Symbol); | ||||
| @@ -524,7 +524,7 @@ bool COFFAsmParser::ParseSEHDirectiveStartProc(StringRef, SMLoc) { | ||||
|   if (getLexer().isNot(AsmToken::EndOfStatement)) | ||||
|     return TokError("unexpected token in directive"); | ||||
|  | ||||
|   MCSymbol *Symbol = getContext().GetOrCreateSymbol(SymbolID); | ||||
|   MCSymbol *Symbol = getContext().getOrCreateSymbol(SymbolID); | ||||
|  | ||||
|   Lex(); | ||||
|   getStreamer().EmitWinCFIStartProc(Symbol); | ||||
| @@ -568,7 +568,7 @@ bool COFFAsmParser::ParseSEHDirectiveHandler(StringRef, SMLoc) { | ||||
|   if (getLexer().isNot(AsmToken::EndOfStatement)) | ||||
|     return TokError("unexpected token in directive"); | ||||
|  | ||||
|   MCSymbol *handler = getContext().GetOrCreateSymbol(SymbolID); | ||||
|   MCSymbol *handler = getContext().getOrCreateSymbol(SymbolID); | ||||
|  | ||||
|   Lex(); | ||||
|   getStreamer().EmitWinEHHandler(handler, unwind, except); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user