diff options
| author | Ed Schouten <ed@FreeBSD.org> | 2009-06-06 08:20:29 +0000 | 
|---|---|---|
| committer | Ed Schouten <ed@FreeBSD.org> | 2009-06-06 08:20:29 +0000 | 
| commit | f4fe016fa15f703fe9c1b932d1e81e2c718521db (patch) | |
| tree | 8a1bbd1a5b838080d31e5c93a1817006b8c62318 /lib/Target/CppBackend/CPPBackend.cpp | |
| parent | 68eb509bdc5c7007520d5231cd92de28106236df (diff) | |
Notes
Diffstat (limited to 'lib/Target/CppBackend/CPPBackend.cpp')
| -rw-r--r-- | lib/Target/CppBackend/CPPBackend.cpp | 9 | 
1 files changed, 9 insertions, 0 deletions
| diff --git a/lib/Target/CppBackend/CPPBackend.cpp b/lib/Target/CppBackend/CPPBackend.cpp index 4082989c4c48..04a6829d9cf6 100644 --- a/lib/Target/CppBackend/CPPBackend.cpp +++ b/lib/Target/CppBackend/CPPBackend.cpp @@ -865,8 +865,11 @@ namespace {          Out << "Constant* " << constName << " = ConstantExpr::";          switch (CE->getOpcode()) {          case Instruction::Add:    Out << "getAdd(";  break; +        case Instruction::FAdd:   Out << "getFAdd(";  break;          case Instruction::Sub:    Out << "getSub("; break; +        case Instruction::FSub:   Out << "getFSub("; break;          case Instruction::Mul:    Out << "getMul("; break; +        case Instruction::FMul:   Out << "getFMul("; break;          case Instruction::UDiv:   Out << "getUDiv("; break;          case Instruction::SDiv:   Out << "getSDiv("; break;          case Instruction::FDiv:   Out << "getFDiv("; break; @@ -1159,8 +1162,11 @@ namespace {        break;      }      case Instruction::Add: +    case Instruction::FAdd:      case Instruction::Sub: +    case Instruction::FSub:      case Instruction::Mul: +    case Instruction::FMul:      case Instruction::UDiv:      case Instruction::SDiv:      case Instruction::FDiv: @@ -1176,8 +1182,11 @@ namespace {        Out << "BinaryOperator* " << iName << " = BinaryOperator::Create(";        switch (I->getOpcode()) {        case Instruction::Add: Out << "Instruction::Add"; break; +      case Instruction::FAdd: Out << "Instruction::FAdd"; break;        case Instruction::Sub: Out << "Instruction::Sub"; break; +      case Instruction::FSub: Out << "Instruction::FSub"; break;        case Instruction::Mul: Out << "Instruction::Mul"; break; +      case Instruction::FMul: Out << "Instruction::FMul"; break;        case Instruction::UDiv:Out << "Instruction::UDiv"; break;        case Instruction::SDiv:Out << "Instruction::SDiv"; break;        case Instruction::FDiv:Out << "Instruction::FDiv"; break; | 
