mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-24 22:24:54 +00:00
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
This commit is contained in:
@@ -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())) {
|
||||
|
Reference in New Issue
Block a user