Rename msasm to alignstack per review.

llvm-svn: 84795
This commit is contained in:
Dale Johannesen
2009-10-21 23:28:00 +00:00
parent 22146fbc5f
commit 1cfb958b00
10 changed files with 33 additions and 27 deletions

View File

@@ -1165,7 +1165,7 @@ bool BitcodeReader::ParseConstants() {
if (Record.size() < 2) return Error("Invalid INLINEASM record");
std::string AsmStr, ConstrStr;
bool HasSideEffects = Record[0] & 1;
bool IsMsAsm = Record[0] >> 1;
bool IsAlignStack = Record[0] >> 1;
unsigned AsmStrSize = Record[1];
if (2+AsmStrSize >= Record.size())
return Error("Invalid INLINEASM record");
@@ -1179,7 +1179,7 @@ bool BitcodeReader::ParseConstants() {
ConstrStr += (char)Record[3+AsmStrSize+i];
const PointerType *PTy = cast<PointerType>(CurTy);
V = InlineAsm::get(cast<FunctionType>(PTy->getElementType()),
AsmStr, ConstrStr, HasSideEffects, IsMsAsm);
AsmStr, ConstrStr, HasSideEffects, IsAlignStack);
break;
}
}