Backout 61d052e202c8 (bug 647367) due to Windows bustage.

This commit is contained in:
Ryan VanderMeulen
2012-07-18 22:33:41 -04:00
parent 42c83ac9f6
commit c9f34b0742
15 changed files with 44 additions and 25 deletions

View File

@@ -15,6 +15,7 @@
#include "jstypes.h"
#include "jsutil.h"
#include "jshash.h"
#include "jsprf.h"
#include "jsapi.h"
#include "jsatom.h"
@@ -42,6 +43,12 @@ 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)
{