Bug 647367 - Sequester jshash.{h,cpp} in js/jsd/. r=luke.

This commit is contained in:
Nicholas Nethercote
2012-07-18 17:38:10 -07:00
parent 4e08a29e9a
commit 767aeb6bc1
15 changed files with 25 additions and 44 deletions

View File

@@ -15,7 +15,6 @@
#include "jstypes.h"
#include "jsutil.h"
#include "jshash.h"
#include "jsprf.h"
#include "jsapi.h"
#include "jsatom.h"
@@ -43,12 +42,6 @@ using namespace js::gc;
const size_t JSAtomState::commonAtomsOffset = offsetof(JSAtomState, emptyAtom);
/*
* ATOM_HASH assumes that JSHashNumber is 32-bit even on 64-bit systems.
*/
JS_STATIC_ASSERT(sizeof(JSHashNumber) == 4);
JS_STATIC_ASSERT(sizeof(JSAtom *) == JS_BYTES_PER_WORD);
const char *
js_AtomToPrintableString(JSContext *cx, JSAtom *atom, JSAutoByteString *bytes)
{