1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 19:52:54 +01:00

Fix a couple of typos.

llvm-svn: 103756
This commit is contained in:
Eric Christopher 2010-05-14 01:38:54 +00:00
parent aeb998db39
commit 0b3085ae2e

View File

@ -1316,7 +1316,7 @@ bool AsmParser::ParseDirectiveComm(bool IsLocal) {
return Error(SizeLoc, "invalid '.comm' or '.lcomm' directive size, can't " return Error(SizeLoc, "invalid '.comm' or '.lcomm' directive size, can't "
"be less than zero"); "be less than zero");
// NOTE: The alignment in the directive is a power of 2 value, the assember // NOTE: The alignment in the directive is a power of 2 value, the assembler
// may internally end up wanting an alignment in bytes. // may internally end up wanting an alignment in bytes.
// FIXME: Diagnose overflow. // FIXME: Diagnose overflow.
if (Pow2Alignment < 0) if (Pow2Alignment < 0)
@ -1406,7 +1406,7 @@ bool AsmParser::ParseDirectiveDarwinZerofill() {
return Error(SizeLoc, "invalid '.zerofill' directive size, can't be less " return Error(SizeLoc, "invalid '.zerofill' directive size, can't be less "
"than zero"); "than zero");
// NOTE: The alignment in the directive is a power of 2 value, the assember // NOTE: The alignment in the directive is a power of 2 value, the assembler
// may internally end up wanting an alignment in bytes. // may internally end up wanting an alignment in bytes.
// FIXME: Diagnose overflow. // FIXME: Diagnose overflow.
if (Pow2Alignment < 0) if (Pow2Alignment < 0)