Changes in directory llvm/lib/ExecutionEngine/Interpreter:
Execution.cpp updated: 1.139.6.3 -> 1.139.6.4 --- Log message: --- Diffs of the changes: (+5 -2) Execution.cpp | 7 +++++-- 1 files changed, 5 insertions(+), 2 deletions(-) Index: llvm/lib/ExecutionEngine/Interpreter/Execution.cpp diff -u llvm/lib/ExecutionEngine/Interpreter/Execution.cpp:1.139.6.3 llvm/lib/ExecutionEngine/Interpreter/Execution.cpp:1.139.6.4 --- llvm/lib/ExecutionEngine/Interpreter/Execution.cpp:1.139.6.3 Sun Oct 22 03:59:00 2006 +++ llvm/lib/ExecutionEngine/Interpreter/Execution.cpp Mon Oct 23 13:13:26 2006 @@ -95,7 +95,8 @@ return executeDivInst(getOperandValue(CE->getOperand(0), SF), getOperandValue(CE->getOperand(1), SF), CE->getOperand(0)->getType()); - case Instruction::Rem: + case Instruction::URem: + case Instruction::SRem: return executeRemInst(getOperandValue(CE->getOperand(0), SF), getOperandValue(CE->getOperand(1), SF), CE->getOperand(0)->getType()); @@ -506,10 +507,12 @@ case Instruction::Add: R = executeAddInst (Src1, Src2, Ty); break; case Instruction::Sub: R = executeSubInst (Src1, Src2, Ty); break; case Instruction::Mul: R = executeMulInst (Src1, Src2, Ty); break; + case Instruction::URem: + case Instruction::SRem: + case Instruction::FRem: R = executeRemInst (Src1, Src2, Ty); break; case Instruction::SDiv: case Instruction::UDiv: case Instruction::FDiv: R = executeDivInst (Src1, Src2, Ty); break; - case Instruction::Rem: R = executeRemInst (Src1, Src2, Ty); break; case Instruction::And: R = executeAndInst (Src1, Src2, Ty); break; case Instruction::Or: R = executeOrInst (Src1, Src2, Ty); break; case Instruction::Xor: R = executeXorInst (Src1, Src2, Ty); break; _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits