diff options
| author | Eli Friedman <eli.friedman@gmail.com> | 2010-07-16 00:55:21 +0000 |
|---|---|---|
| committer | Eli Friedman <eli.friedman@gmail.com> | 2010-07-16 00:55:21 +0000 |
| commit | 6d7cfd7ef82e42ff30ee1dafd2883fd94e9f8294 (patch) | |
| tree | 7c8957fc0290c36a3379d4c9ae5f31e71207edd2 /lib/CodeGen/CodeGenFunction.h | |
| parent | 1058253c364b2c98e6cecfe15d18d3562db245f4 (diff) | |
| download | clang-6d7cfd7ef82e42ff30ee1dafd2883fd94e9f8294.tar.gz clang-6d7cfd7ef82e42ff30ee1dafd2883fd94e9f8294.tar.bz2 clang-6d7cfd7ef82e42ff30ee1dafd2883fd94e9f8294.tar.xz | |
Fix for PR3800: make sure not to evaluate the expression for a read-write
asm operand twice.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@108489 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.h')
| -rw-r--r-- | lib/CodeGen/CodeGenFunction.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/CodeGen/CodeGenFunction.h b/lib/CodeGen/CodeGenFunction.h index 5ee3db08ee..778604b217 100644 --- a/lib/CodeGen/CodeGenFunction.h +++ b/lib/CodeGen/CodeGenFunction.h @@ -1575,6 +1575,11 @@ private: const TargetInfo::ConstraintInfo &Info, const Expr *InputExpr, std::string &ConstraintStr); + llvm::Value* EmitAsmInputLValue(const AsmStmt &S, + const TargetInfo::ConstraintInfo &Info, + LValue InputValue, QualType InputType, + std::string &ConstraintStr); + /// EmitCallArgs - Emit call arguments for a function. /// The CallArgTypeInfo parameter is used for iterating over the known /// argument types of the function being called. |
