Um, did someone make a typo or something?

llvm-svn: 14192
This commit is contained in:
Brian Gaeke 2004-06-15 23:09:50 +00:00
parent fbf4dc3bd0
commit 20e09e5c7b
1 changed files with 1 additions and 1 deletions

View File

@ -273,7 +273,7 @@ Constant *llvm::ConstantFoldCall(Function *F,
if (Operands.size() == 1) {
if (ConstantFP *Op = dyn_cast<ConstantFP>(Operands[0])) {
double V = Op->getValue();
else if (Name == "sin")
if (Name == "sin")
return ConstantFP::get(Ty, sin(V));
else if (Name == "cos")
return ConstantFP::get(Ty, cos(V));