From 4186005edc9a083e568eab8df308ff647b84c3de Mon Sep 17 00:00:00 2001 From: Rafael Espindola Date: Tue, 24 Jun 2014 22:45:16 +0000 Subject: Print a=b as an assignment. In assembly the expression a=b is parsed as an assignment, so it should be printed as one. This remove a truly horrible hack for producing a label with "a=.". It would be used by codegen but would never be reached by the asm parser. Sorry I missed this when it was first committed. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@211639 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/MC/MCNullStreamer.cpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'lib/MC/MCNullStreamer.cpp') diff --git a/lib/MC/MCNullStreamer.cpp b/lib/MC/MCNullStreamer.cpp index 5ab2829a6b..5fa14c9789 100644 --- a/lib/MC/MCNullStreamer.cpp +++ b/lib/MC/MCNullStreamer.cpp @@ -33,9 +33,6 @@ namespace { assert(getCurrentSection().first &&"Cannot emit before setting section!"); AssignSection(Symbol, getCurrentSection().first); } - void EmitDebugLabel(MCSymbol *Symbol) override { - EmitLabel(Symbol); - } void EmitAssemblerFlag(MCAssemblerFlag Flag) override {} void EmitThumbFunc(MCSymbol *Func) override {} -- cgit v1.2.3