diff options
author | Jim Grosbach <grosbach@apple.com> | 2015-05-18 18:43:14 +0000 |
---|---|---|
committer | Jim Grosbach <grosbach@apple.com> | 2015-05-18 18:43:14 +0000 |
commit | 6f482000e996767855f6452c36d127e8c7c8e82d (patch) | |
tree | 20250311ad06aeafdbc7751af9e7a2d20977fef6 /llvm/lib/MC/MCMachOStreamer.cpp | |
parent | f8a0db50b25ce696ae0644e75188c3d2f2465f5d (diff) | |
download | llvm-6f482000e996767855f6452c36d127e8c7c8e82d.zip llvm-6f482000e996767855f6452c36d127e8c7c8e82d.tar.gz llvm-6f482000e996767855f6452c36d127e8c7c8e82d.tar.bz2 |
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.
llvm-svn: 237594
Diffstat (limited to 'llvm/lib/MC/MCMachOStreamer.cpp')
-rw-r--r-- | llvm/lib/MC/MCMachOStreamer.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/MC/MCMachOStreamer.cpp b/llvm/lib/MC/MCMachOStreamer.cpp index b381e578..ab26b5d 100644 --- a/llvm/lib/MC/MCMachOStreamer.cpp +++ b/llvm/lib/MC/MCMachOStreamer.cpp @@ -163,7 +163,7 @@ void MCMachOStreamer::ChangeSection(const MCSection *Section, // Output a linker-local symbol so we don't need section-relative local // relocations. The linker hates us when we do that. if (LabelSections && !HasSectionLabel[Section]) { - MCSymbol *Label = getContext().CreateLinkerPrivateTempSymbol(); + MCSymbol *Label = getContext().createLinkerPrivateTempSymbol(); EmitLabel(Label); HasSectionLabel[Section] = true; } @@ -208,7 +208,7 @@ void MCMachOStreamer::EmitDataRegion(DataRegionData::KindTy Kind) { if (!getAssembler().getBackend().hasDataInCodeSupport()) return; // Create a temporary label to mark the start of the data region. - MCSymbol *Start = getContext().CreateTempSymbol(); + MCSymbol *Start = getContext().createTempSymbol(); EmitLabel(Start); // Record the region for the object writer to use. DataRegionData Data = { Kind, Start, nullptr }; @@ -224,7 +224,7 @@ void MCMachOStreamer::EmitDataRegionEnd() { DataRegionData &Data = Regions.back(); assert(!Data.End && "Mismatched .end_data_region!"); // Create a temporary label to mark the end of the data region. - Data.End = getContext().CreateTempSymbol(); + Data.End = getContext().createTempSymbol(); EmitLabel(Data.End); } |