Bug 886128 - Fix various clang warnings and some potential bugs in nonstandard configurations. r=nnethercote,terrence.

This commit is contained in:
Emanuel Hoogeveen
2013-06-24 21:32:05 -07:00
parent 4c69f27f03
commit eac5c02514
19 changed files with 54 additions and 32 deletions

View File

@@ -7,7 +7,7 @@
/*
* JS atom table.
*/
#include "jsatom.h"
#include "jsatominlines.h"
#include "mozilla/RangedPtr.h"
#include "mozilla/Util.h"
@@ -22,9 +22,11 @@
#include "gc/Marking.h"
#include "vm/Xdr.h"
#include "jsatominlines.h"
#include "jscompartmentinlines.h"
#ifdef JSGC_GENERATIONAL
#include "vm/Shape-inl.h"
#endif
#include "vm/String-inl.h"
using namespace js;