mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-30 07:00:45 +00:00
Some common functionality from WinCOFFStreamer::EmitAssignment can be now
delegated to MCObjectStreamer. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@169617 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
ef76b273f9
commit
cd81dce774
@ -193,9 +193,7 @@ void WinCOFFStreamer::EmitAssignment(MCSymbol *Symbol, const MCExpr *Value) {
|
||||
// don't really even do.
|
||||
|
||||
if (Value->getKind() != MCExpr::SymbolRef) {
|
||||
getAssembler().getOrCreateSymbolData(*Symbol);
|
||||
AddValueSymbols(Value);
|
||||
Symbol->setVariableValue(Value);
|
||||
MCObjectStreamer::EmitAssignment(Symbol, Value);
|
||||
} else {
|
||||
// FIXME: This is a horrible way to do this :(. This should really be
|
||||
// handled after we are done with the MC* objects and immediately before
|
||||
|
Loading…
Reference in New Issue
Block a user