Keep track of whether the asm is volatile or not.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@44297 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/AST/Stmt.cpp b/AST/Stmt.cpp
index 9a4d434..6663d6f 100644
--- a/AST/Stmt.cpp
+++ b/AST/Stmt.cpp
@@ -112,6 +112,7 @@
}
AsmStmt::AsmStmt(SourceLocation asmloc,
+ bool isvolatile,
unsigned numoutputs,
unsigned numinputs,
std::string *names,
@@ -122,7 +123,7 @@
StringLiteral **clobbers,
SourceLocation rparenloc)
: Stmt(AsmStmtClass), AsmLoc(asmloc), RParenLoc(rparenloc), AsmStr(asmstr)
- , NumOutputs(numoutputs), NumInputs(numinputs)
+ , IsVolatile(isvolatile), NumOutputs(numoutputs), NumInputs(numinputs)
{
for (unsigned i = 0, e = numinputs + numoutputs; i != e; i++) {
Names.push_back(names[i]);