diff options
| author | Chris Lattner <sabre@nondot.org> | 2009-04-26 18:05:25 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2009-04-26 18:05:25 +0000 |
| commit | 4c92b51089d21326a7c0d82625cb2a03f5174bb1 (patch) | |
| tree | d1c723594fcb9f7753807c4447042144839380e3 /clang/lib/Basic | |
| parent | c16d476b30a882fdb3a72f49b5f60cdc27d1aded (diff) | |
| download | bcm5719-llvm-4c92b51089d21326a7c0d82625cb2a03f5174bb1.tar.gz bcm5719-llvm-4c92b51089d21326a7c0d82625cb2a03f5174bb1.zip | |
in a tied operand, don't copy over the name or constraint string, just the flags.
llvm-svn: 70137
Diffstat (limited to 'clang/lib/Basic')
| -rw-r--r-- | clang/lib/Basic/TargetInfo.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/clang/lib/Basic/TargetInfo.cpp b/clang/lib/Basic/TargetInfo.cpp index a7241f28642..d1e351077e2 100644 --- a/clang/lib/Basic/TargetInfo.cpp +++ b/clang/lib/Basic/TargetInfo.cpp @@ -245,8 +245,7 @@ bool TargetInfo::validateInputConstraint(ConstraintInfo *OutputConstraints, // The constraint should have the same info as the respective // output constraint. - Info = OutputConstraints[i]; - Info.setTiedOperand(i); + Info.setTiedOperand(i, OutputConstraints[i]); } else if (!validateAsmConstraint(Name, Info)) { // FIXME: This error return is in place temporarily so we can // add more constraints as we hit it. Eventually, an unknown |

