forked from OSchip/llvm-project
parent
1666b61357
commit
87002b592e
|
@ -162,10 +162,10 @@ void WinCOFFStreamer::EmitAssignment(MCSymbol *Symbol, const MCExpr *Value) {
|
|||
// don't really even do.
|
||||
|
||||
if (Value->getKind() != MCExpr::SymbolRef) {
|
||||
// TODO: This is exactly the same as MachOStreamer. Consider merging into
|
||||
// MCObjectStreamer.
|
||||
getAssembler().getOrCreateSymbolData(*Symbol);
|
||||
AddValueSymbols(Value);
|
||||
// TODO: This is exactly the same as MachOStreamer. Consider merging into
|
||||
// MCObjectStreamer.
|
||||
getAssembler().getOrCreateSymbolData(*Symbol);
|
||||
AddValueSymbols(Value);
|
||||
Symbol->setVariableValue(Value);
|
||||
} else {
|
||||
// FIXME: This is a horrible way to do this :(. This should really be
|
||||
|
|
Loading…
Reference in New Issue