From 71d259bc4be4f5c7a8a30c6be8da105074ff805a Mon Sep 17 00:00:00 2001 From: Daniel Dunbar Date: Wed, 24 Jun 2009 17:00:42 +0000 Subject: We decided to not worry about Atoms for now, it should be straightforward to reintroduce them later. Also, don't require MCSection* when creating a symbol. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74081 91177308-0d34-0410-b5e6-96231b3b80d8 --- unittests/MC/AsmStreamerTest.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'unittests') diff --git a/unittests/MC/AsmStreamerTest.cpp b/unittests/MC/AsmStreamerTest.cpp index d973301..76da23b 100644 --- a/unittests/MC/AsmStreamerTest.cpp +++ b/unittests/MC/AsmStreamerTest.cpp @@ -53,10 +53,8 @@ TEST(AsmStreamer, Sections) { TEST(AsmStreamer, Values) { StringAsmStreamer S; MCSection *Sec0 = S.getContext().GetSection("foo"); - MCSymbol *A = S.getContext().CreateSymbol(S.getContext().CreateAtom(Sec0), - "a"); - MCSymbol *B = S.getContext().CreateSymbol(S.getContext().CreateAtom(Sec0), - "b"); + MCSymbol *A = S.getContext().CreateSymbol("a"); + MCSymbol *B = S.getContext().CreateSymbol("b"); S.getStreamer().SwitchSection(Sec0); S.getStreamer().EmitLabel(A); S.getStreamer().EmitLabel(B); -- cgit v1.1