Remove unnecessary copy of constraint info.

llvm-svn: 70835
This commit is contained in:
Daniel Dunbar 2009-05-04 06:56:16 +00:00
parent 95162024e2
commit d53e07b396
2 changed files with 3 additions and 2 deletions

View File

@ -726,7 +726,7 @@ SimplifyConstraint(const char *Constraint, TargetInfo &Target,
}
llvm::Value* CodeGenFunction::EmitAsmInput(const AsmStmt &S,
TargetInfo::ConstraintInfo Info,
const TargetInfo::ConstraintInfo &Info,
const Expr *InputExpr,
std::string &ConstraintStr) {
llvm::Value *Arg;

View File

@ -801,7 +801,8 @@ private:
void ExpandTypeToArgs(QualType Ty, RValue Src,
llvm::SmallVector<llvm::Value*, 16> &Args);
llvm::Value* EmitAsmInput(const AsmStmt &S, TargetInfo::ConstraintInfo Info,
llvm::Value* EmitAsmInput(const AsmStmt &S,
const TargetInfo::ConstraintInfo &Info,
const Expr *InputExpr, std::string &ConstraintStr);
/// EmitCleanupBlock - emits a single cleanup block.