A couple more darwinisms

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22450 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Nate Begeman 2005-07-16 01:59:47 +00:00
parent a28381cac2
commit 9035b99abf

View File

@ -62,9 +62,12 @@ bool X86SharedAsmPrinter::doInitialization(Module& M) {
if (leadingUnderscore || forCygwin || forDarwin)
GlobalPrefix = "_";
if (forDarwin)
if (forDarwin) {
AlignmentIsInBytes = false;
Data64bitsDirective = 0; // we can't emit a 64-bit unit
ZeroDirective = "\t.space\t"; // ".space N" emits N zeros.
}
return AsmPrinter::doInitialization(M);
}