diff options
author | Chris Lattner <sabre@nondot.org> | 2010-01-23 07:47:02 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-01-23 07:47:02 +0000 |
commit | 9eb158d5b4cd4f6fc80912e2dd77bdf13c3ca0e7 (patch) | |
tree | e51fc5dd2d8b42749fd516f3cae3457155d767ca /lib/CodeGen | |
parent | f9f93e4388962b678fd59b7af5212d4cc0d38be2 (diff) | |
download | llvm-9eb158d5b4cd4f6fc80912e2dd77bdf13c3ca0e7.tar.gz llvm-9eb158d5b4cd4f6fc80912e2dd77bdf13c3ca0e7.tar.bz2 llvm-9eb158d5b4cd4f6fc80912e2dd77bdf13c3ca0e7.tar.xz |
mcize lcomm, simplify .comm, extend both to support 64-bit sizes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94299 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen')
-rw-r--r-- | lib/CodeGen/AsmPrinter/AsmPrinter.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/CodeGen/AsmPrinter/AsmPrinter.cpp b/lib/CodeGen/AsmPrinter/AsmPrinter.cpp index fc2c5a00da..f4d886492c 100644 --- a/lib/CodeGen/AsmPrinter/AsmPrinter.cpp +++ b/lib/CodeGen/AsmPrinter/AsmPrinter.cpp @@ -196,9 +196,9 @@ void AsmPrinter::EmitGlobalVariable(const GlobalVariable *GV) { return; } - if (const char *LComm = MAI->getLCOMMDirective()) { + if (MAI->hasLCOMMDirective()) { // .lcomm _foo, 42 - O << LComm << *GVSym << ',' << Size << '\n'; + OutStreamer.EmitLocalCommonSymbol(GVSym, Size); return; } |