Index: src/runtime/runtime-maths.cc |
diff --git a/src/runtime/runtime-maths.cc b/src/runtime/runtime-maths.cc |
index ee8c289fea7edf919ba0ff0126e394f18b632e0e..b66219af47419f4e64efc460f9a30029629e7c99 100644 |
--- a/src/runtime/runtime-maths.cc |
+++ b/src/runtime/runtime-maths.cc |
@@ -52,7 +52,7 @@ RUNTIME_FUNCTION(Runtime_RemPiO2) { |
DCHECK(args.length() == 2); |
CONVERT_DOUBLE_ARG_CHECKED(x, 0); |
CONVERT_ARG_CHECKED(JSTypedArray, result, 1); |
- RUNTIME_ASSERT(result->byte_length() == Smi::FromInt(2 * sizeof(double))); |
+ CHECK(result->byte_length() == Smi::FromInt(2 * sizeof(double))); |
FixedFloat64Array* array = FixedFloat64Array::cast(result->elements()); |
double* y = static_cast<double*>(array->DataPtr()); |
return Smi::FromInt(fdlibm::rempio2(x, y)); |