diff options
| author | Anders Carlsson <andersca@mac.com> | 2009-01-17 23:36:15 +0000 |
|---|---|---|
| committer | Anders Carlsson <andersca@mac.com> | 2009-01-17 23:36:15 +0000 |
| commit | 19aa04d27009f55ed40f51c27d6fb66a999826fd (patch) | |
| tree | 99d0cdee93e70465fd2af1531ea493615b1d75dc /clang/lib/CodeGen | |
| parent | 18789e1c21dedc78a463aa7e519cd42d0d01ec21 (diff) | |
| download | bcm5719-llvm-19aa04d27009f55ed40f51c27d6fb66a999826fd.tar.gz bcm5719-llvm-19aa04d27009f55ed40f51c27d6fb66a999826fd.zip | |
Change TargetInfo::validateInputConstraint to take begin/end name iterators instead of the number of outputs. No functionality change.
llvm-svn: 62433
Diffstat (limited to 'clang/lib/CodeGen')
| -rw-r--r-- | clang/lib/CodeGen/CGStmt.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CGStmt.cpp b/clang/lib/CodeGen/CGStmt.cpp index edccbe41bfd..d86c3f43891 100644 --- a/clang/lib/CodeGen/CGStmt.cpp +++ b/clang/lib/CodeGen/CGStmt.cpp @@ -977,7 +977,9 @@ void CodeGenFunction::EmitAsmStmt(const AsmStmt &S) { TargetInfo::ConstraintInfo Info; bool result = Target.validateInputConstraint(InputConstraint.c_str(), - NumConstraints, Info); + S.begin_output_names(), + S.end_output_names(), + Info); assert(result && "Failed to parse input constraint"); result=result; if (i != 0 || S.getNumOutputs() > 0) |

