mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-26 09:18:56 +00:00
Remove unused argument.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@129955 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -124,21 +124,19 @@ void MCObjectStreamer::EmitLabel(MCSymbol *Symbol) {
|
||||
SD.setOffset(F->getContents().size());
|
||||
}
|
||||
|
||||
void MCObjectStreamer::EmitULEB128Value(const MCExpr *Value,
|
||||
unsigned AddrSpace) {
|
||||
void MCObjectStreamer::EmitULEB128Value(const MCExpr *Value) {
|
||||
int64_t IntValue;
|
||||
if (Value->EvaluateAsAbsolute(IntValue, getAssembler())) {
|
||||
EmitULEB128IntValue(IntValue, AddrSpace);
|
||||
EmitULEB128IntValue(IntValue);
|
||||
return;
|
||||
}
|
||||
new MCLEBFragment(*Value, false, getCurrentSectionData());
|
||||
}
|
||||
|
||||
void MCObjectStreamer::EmitSLEB128Value(const MCExpr *Value,
|
||||
unsigned AddrSpace) {
|
||||
void MCObjectStreamer::EmitSLEB128Value(const MCExpr *Value) {
|
||||
int64_t IntValue;
|
||||
if (Value->EvaluateAsAbsolute(IntValue, getAssembler())) {
|
||||
EmitSLEB128IntValue(IntValue, AddrSpace);
|
||||
EmitSLEB128IntValue(IntValue);
|
||||
return;
|
||||
}
|
||||
new MCLEBFragment(*Value, true, getCurrentSectionData());
|
||||
|
Reference in New Issue
Block a user