зеркало из https://github.com/mozilla/gecko-dev.git
Remove some extraneous includes and a function, all added in bug 714260. They were initially necessary when that patch was written, but they became vestigial during rebasing prior to landing, and this disuse wasn't noticed til now. r=lumpy
This commit is contained in:
Родитель
dc9b608900
Коммит
40a94b7921
|
@ -12,8 +12,6 @@
|
|||
* Implementation details for js::Value in jsapi.h.
|
||||
*/
|
||||
|
||||
#include "mozilla/FloatingPoint.h"
|
||||
|
||||
#include "js/Utility.h"
|
||||
|
||||
JS_BEGIN_EXTERN_C
|
||||
|
|
|
@ -226,16 +226,6 @@ MOZ_DOUBLE_MIN_VALUE()
|
|||
return pun.d;
|
||||
}
|
||||
|
||||
/** Computes a 32-bit hash of the given double. */
|
||||
static MOZ_ALWAYS_INLINE uint32_t
|
||||
MOZ_HASH_DOUBLE(double d)
|
||||
{
|
||||
union MozDoublePun pun;
|
||||
pun.d = d;
|
||||
|
||||
return ((uint32_t)(pun.u >> 32)) ^ ((uint32_t)(pun.u));
|
||||
}
|
||||
|
||||
static MOZ_ALWAYS_INLINE int
|
||||
MOZ_DOUBLE_IS_INT32(double d, int32_t* i)
|
||||
{
|
||||
|
|
Загрузка…
Ссылка в новой задаче