diff options
author | Pete Cooper <peter_cooper@apple.com> | 2015-06-09 22:35:55 +0000 |
---|---|---|
committer | Pete Cooper <peter_cooper@apple.com> | 2015-06-09 22:35:55 +0000 |
commit | 4750efad9aed069fffd90812b0c762662aa3bdf3 (patch) | |
tree | 8741443fa8143ed30624fd59fa00b7d59f8c5fd2 /llvm/lib/MC/MCSymbol.cpp | |
parent | 6109b51ef1ef92ff9f11b07f954943c2262c7a11 (diff) | |
download | llvm-4750efad9aed069fffd90812b0c762662aa3bdf3.zip llvm-4750efad9aed069fffd90812b0c762662aa3bdf3.tar.gz llvm-4750efad9aed069fffd90812b0c762662aa3bdf3.tar.bz2 |
Revert "Move MCSymbol Value in to the union of Offset and CommonSize."
This reverts commit 2e449ec5bcdf67b52b315b16c2128aaf25d5b73c.
This was svn r239440. Its currently failing an ARM test so reverting while I work out
what to do next.
llvm-svn: 239441
Diffstat (limited to 'llvm/lib/MC/MCSymbol.cpp')
-rw-r--r-- | llvm/lib/MC/MCSymbol.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/llvm/lib/MC/MCSymbol.cpp b/llvm/lib/MC/MCSymbol.cpp index 9ca85b0..836d282 100644 --- a/llvm/lib/MC/MCSymbol.cpp +++ b/llvm/lib/MC/MCSymbol.cpp @@ -40,11 +40,7 @@ void *MCSymbol::operator new(size_t s, const StringMapEntry<bool> *Name, void MCSymbol::setVariableValue(const MCExpr *Value) { assert(!IsUsed && "Cannot set a variable that has already been used."); assert(Value && "Invalid variable value!"); - assert((SymbolContents == SymContentsUnset || - SymbolContents == SymContentsVariable) && - "Cannot give common/offset symbol a variable value"); this->Value = Value; - SymbolContents = SymContentsVariable; SectionOrFragment = nullptr; } |