Skip to content
Snippets Groups Projects
Commit 40a94b79 authored by Jeff Walden's avatar Jeff Walden
Browse files

Remove some extraneous includes and a function, all added in bug 714260. They...

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
parent dc9b6089
No related branches found
No related tags found
No related merge requests found
...@@ -12,8 +12,6 @@ ...@@ -12,8 +12,6 @@
* Implementation details for js::Value in jsapi.h. * Implementation details for js::Value in jsapi.h.
*/ */
#include "mozilla/FloatingPoint.h"
#include "js/Utility.h" #include "js/Utility.h"
JS_BEGIN_EXTERN_C JS_BEGIN_EXTERN_C
......
...@@ -226,16 +226,6 @@ MOZ_DOUBLE_MIN_VALUE() ...@@ -226,16 +226,6 @@ MOZ_DOUBLE_MIN_VALUE()
return pun.d; 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 static MOZ_ALWAYS_INLINE int
MOZ_DOUBLE_IS_INT32(double d, int32_t* i) MOZ_DOUBLE_IS_INT32(double d, int32_t* i)
{ {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment