author | Jeff Walden <jwalden@mit.edu> |
Wed, 16 May 2018 10:44:54 -0700 (2018-05-16) | |
changeset 418611 | d8411d78d58a6bfb1dc333403734f6ec8c9ba2e2 |
parent 418610 | 19d2aace5b3ca316f548906b4283ebad44d3c8dd |
child 418612 | e016aa76775e0d914bd1caf32fdaaf7fc78de25e |
push id | 103351 |
push user | jwalden@mit.edu |
push date | Thu, 17 May 2018 07:17:38 +0000 (2018-05-17) |
treeherder | mozilla-inbound@e016aa76775e [default view] [failures only] |
perfherder | [talos] [build metrics] [platform microbench] (compared to previous push) |
reviewers | jandem |
bugs | 1461556 |
milestone | 62.0a1 |
first release with | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
last release without | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
--- a/js/public/Utility.h +++ b/js/public/Utility.h @@ -544,17 +544,17 @@ js_delete(const T* p) } template<class T> static MOZ_ALWAYS_INLINE void js_delete_poison(const T* p) { if (p) { p->~T(); - memset(const_cast<T*>(p), 0x3B, sizeof(T)); + memset(static_cast<void*>(const_cast<T*>(p)), 0x3B, sizeof(T)); js_free(const_cast<T*>(p)); } } template <class T> static MOZ_ALWAYS_INLINE T* js_pod_malloc() {