Index: runtime/vm/intrinsifier_arm.cc |
=================================================================== |
--- runtime/vm/intrinsifier_arm.cc (revision 29911) |
+++ runtime/vm/intrinsifier_arm.cc (working copy) |
@@ -723,24 +723,6 @@ |
} |
-void Intrinsifier::Integer_remainder(Assembler* assembler) { |
- // Check to see if we have integer division |
- Label fall_through; |
- TestBothArgumentsSmis(assembler, &fall_through); |
- // R1: Tagged left (dividend). |
- // R0: Tagged right (divisor). |
- // Check if modulo by zero -> exception thrown in main function. |
- __ cmp(R0, ShifterOperand(0)); |
- __ b(&fall_through, EQ); |
- EmitRemainderOperation(assembler); |
- // Untagged remainder result in R1. |
- __ mov(R0, ShifterOperand(R1, LSL, 1)); // Tag result and return. |
- __ Ret(); |
- |
- __ Bind(&fall_through); |
-} |
- |
- |
void Intrinsifier::Integer_truncDivide(Assembler* assembler) { |
// Check to see if we have integer division |
Label fall_through; |