From 9eb158d5b4cd4f6fc80912e2dd77bdf13c3ca0e7 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sat, 23 Jan 2010 07:47:02 +0000 Subject: 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 --- lib/CodeGen/AsmPrinter/AsmPrinter.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/CodeGen') 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; } -- cgit v1.2.3