diff options
author | Chad Rosier <mcrosier@apple.com> | 2012-08-28 20:33:49 +0000 |
---|---|---|
committer | Chad Rosier <mcrosier@apple.com> | 2012-08-28 20:33:49 +0000 |
commit | 00d16371f581af9ac8ac5d9ab2386cb2cfed61c1 (patch) | |
tree | dd9b5a487c113a99d9f86a41bbc5151694c9a6c9 /lib/AST/Stmt.cpp | |
parent | 89fb6d7eba51c7864ec544e07accd23b24057122 (diff) |
[ms-inline asm] Have generateAsmString() return the AsmString computed by Sema.
We still need to translate the string, but this at least gets us one step
closer to using the more general EmitAsmStmt() codegen function. No functional
change intended.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@162785 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/AST/Stmt.cpp')
-rw-r--r-- | lib/AST/Stmt.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/AST/Stmt.cpp b/lib/AST/Stmt.cpp index ac432e85a7..ddd47bf5ab 100644 --- a/lib/AST/Stmt.cpp +++ b/lib/AST/Stmt.cpp @@ -623,7 +623,7 @@ std::string GCCAsmStmt::generateAsmString(ASTContext &C) const { /// Assemble final IR asm string (MS-style). std::string MSAsmStmt::generateAsmString(ASTContext &C) const { // FIXME: This needs to be translated into the IR string representation. - return std::string(); + return AsmStr; } Expr *MSAsmStmt::getOutputExpr(unsigned i) { |