projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fa94fa5
)
Some common functionality from WinCOFFStreamer::EmitAssignment can be now
author
Eli Bendersky
<eliben@google.com>
Fri, 7 Dec 2012 17:55:28 +0000
(17:55 +0000)
committer
Eli Bendersky
<eliben@google.com>
Fri, 7 Dec 2012 17:55:28 +0000
(17:55 +0000)
delegated to MCObjectStreamer.
llvm-svn: 169617
llvm/lib/MC/WinCOFFStreamer.cpp
patch
|
blob
|
history
diff --git
a/llvm/lib/MC/WinCOFFStreamer.cpp
b/llvm/lib/MC/WinCOFFStreamer.cpp
index
e8fe680
..
8c8ae3f
100644
(file)
--- a/
llvm/lib/MC/WinCOFFStreamer.cpp
+++ b/
llvm/lib/MC/WinCOFFStreamer.cpp
@@
-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