Index: src/conversions-inl.h |
diff --git a/src/conversions-inl.h b/src/conversions-inl.h |
index 7edaf224072124437cab688b59bf36302bd066a2..eb718d684dfa4de811f93e6d4ae62329705a59c8 100644 |
--- a/src/conversions-inl.h |
+++ b/src/conversions-inl.h |
@@ -77,7 +77,7 @@ inline unsigned int FastD2UI(double x) { |
uint32_t result; |
Address mantissa_ptr = reinterpret_cast<Address>(&x); |
// Copy least significant 32 bits of mantissa. |
- memcpy(&result, mantissa_ptr, sizeof(result)); |
+ OS::MemCopy(&result, mantissa_ptr, sizeof(result)); |
return negative ? ~result + 1 : result; |
} |
// Large number (outside uint32 range), Infinity or NaN. |