Index: src/arm/code-stubs-arm.cc |
diff --git a/src/arm/code-stubs-arm.cc b/src/arm/code-stubs-arm.cc |
index 282a6d87562981a3368c8a8c3e7a26e044afc443..5886ea3c1b83a324d5c6e03a5376c240fa5c6589 100644 |
--- a/src/arm/code-stubs-arm.cc |
+++ b/src/arm/code-stubs-arm.cc |
@@ -602,6 +602,7 @@ void DoubleToIStub::Generate(MacroAssembler* masm) { |
Label out_of_range, only_low, negate, done; |
Register input_reg = source(); |
Register result_reg = destination(); |
+ ASSERT(is_truncating()); |
int double_offset = offset(); |
// Account for saved regs if input is sp. |