diff options
| author | Peter Collingbourne <peter@pcc.me.uk> | 2015-04-02 07:02:51 +0000 |
|---|---|---|
| committer | Peter Collingbourne <peter@pcc.me.uk> | 2015-04-02 07:02:51 +0000 |
| commit | 949eb3f6a7deda71c7280ff6e689ddf79cf737ce (patch) | |
| tree | 3765c8a377a7d292e7a9d7d6c826e5acc6c59216 /llvm/lib/MC/MCExpr.cpp | |
| parent | 0ee57cede02033cbc28a9b566e8c0ab2aa18dedf (diff) | |
| download | bcm5719-llvm-949eb3f6a7deda71c7280ff6e689ddf79cf737ce.tar.gz bcm5719-llvm-949eb3f6a7deda71c7280ff6e689ddf79cf737ce.zip | |
Revert r233595, "MC: For variable symbols, maintain MCSymbol::Section as a cache."
llvm-svn: 233898
Diffstat (limited to 'llvm/lib/MC/MCExpr.cpp')
| -rw-r--r-- | llvm/lib/MC/MCExpr.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/llvm/lib/MC/MCExpr.cpp b/llvm/lib/MC/MCExpr.cpp index 995f4c96ee6..8a64403362c 100644 --- a/llvm/lib/MC/MCExpr.cpp +++ b/llvm/lib/MC/MCExpr.cpp @@ -775,9 +775,6 @@ const MCSection *MCExpr::FindAssociatedSection() const { if (RHS_S == MCSymbol::AbsolutePseudoSection) return LHS_S; - if (BE->getOpcode() == MCBinaryExpr::Sub) - return MCSymbol::AbsolutePseudoSection; - // Otherwise, return the first non-null section. return LHS_S ? LHS_S : RHS_S; } |

