diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2014-06-24 22:45:16 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2014-06-24 22:45:16 +0000 |
commit | f491704e2297e5986b0fe7277403e35ffabaaec4 (patch) | |
tree | 167fa65506e27aa9d07aa1b74ba9661de527d50b /llvm/lib/MC/MCObjectStreamer.cpp | |
parent | 48672afb662f4b23e1934debdb84ad9a20dd9ced (diff) | |
download | llvm-f491704e2297e5986b0fe7277403e35ffabaaec4.zip llvm-f491704e2297e5986b0fe7277403e35ffabaaec4.tar.gz llvm-f491704e2297e5986b0fe7277403e35ffabaaec4.tar.bz2 |
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.
llvm-svn: 211639
Diffstat (limited to 'llvm/lib/MC/MCObjectStreamer.cpp')
-rw-r--r-- | llvm/lib/MC/MCObjectStreamer.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/llvm/lib/MC/MCObjectStreamer.cpp b/llvm/lib/MC/MCObjectStreamer.cpp index a1aa602..4af3b53 100644 --- a/llvm/lib/MC/MCObjectStreamer.cpp +++ b/llvm/lib/MC/MCObjectStreamer.cpp @@ -158,10 +158,6 @@ void MCObjectStreamer::EmitLabel(MCSymbol *Symbol) { SD.setOffset(F->getContents().size()); } -void MCObjectStreamer::EmitDebugLabel(MCSymbol *Symbol) { - EmitLabel(Symbol); -} - void MCObjectStreamer::EmitULEB128Value(const MCExpr *Value) { int64_t IntValue; if (Value->EvaluateAsAbsolute(IntValue, getAssembler())) { |