Skip to content

Commit

Permalink
Bug 791607 - Remove unnecessary |#include <new>| directives. r=dmande…
Browse files Browse the repository at this point in the history
…lin.
  • Loading branch information
nnethercote committed Sep 21, 2012
1 parent 759e0a8 commit 0d2aea4
Show file tree
Hide file tree
Showing 9 changed files with 0 additions and 13 deletions.
2 changes: 0 additions & 2 deletions js/src/ds/LifoAlloc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@

#include "LifoAlloc.h"

#include <new>

using namespace js;

namespace js {
Expand Down
1 change: 0 additions & 1 deletion js/src/frontend/BytecodeEmitter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
#ifdef HAVE_MEMORY_H
#include <memory.h>
#endif
#include <new>
#include <string.h>

#include "jstypes.h"
Expand Down
1 change: 0 additions & 1 deletion js/src/jscntxt.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@

#include <limits.h> /* make sure that <features.h> is included and we can use
__GLIBC__ to detect glibc presence */
#include <new>
#include <stdarg.h>
#include <stdlib.h>
#include <string.h>
Expand Down
2 changes: 0 additions & 2 deletions js/src/jsobjinlines.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@
#ifndef jsobjinlines_h___
#define jsobjinlines_h___

#include <new>

#include "jsapi.h"
#include "jsarray.h"
#include "jsbool.h"
Expand Down
2 changes: 0 additions & 2 deletions js/src/jspropertytree.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */

#include <new>

#include "jstypes.h"
#include "jsprf.h"
#include "jsapi.h"
Expand Down
1 change: 0 additions & 1 deletion js/src/jsscope.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
/*
* JS symbol tables.
*/
#include <new>
#include <stdlib.h>
#include <string.h>
#include "jstypes.h"
Expand Down
1 change: 0 additions & 1 deletion js/src/jsscope.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
/*
* JS symbol tables.
*/
#include <new>
#ifdef DEBUG
#include <stdio.h>
#endif
Expand Down
2 changes: 0 additions & 2 deletions js/src/jsscopeinlines.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@
#ifndef jsscopeinlines_h___
#define jsscopeinlines_h___

#include <new>

#include "jsarray.h"
#include "jsbool.h"
#include "jscntxt.h"
Expand Down
1 change: 0 additions & 1 deletion js/src/perf/pm_linux.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ using namespace js;
*/

#include <linux/perf_event.h>
#include <new>
#include <sys/syscall.h>
#include <sys/ioctl.h>
#include <errno.h>
Expand Down

0 comments on commit 0d2aea4

Please sign in to comment.