Bug 1773897 - cleanup extra js/src includes r=sylvestre

Differential Revision: https://phabricator.services.mozilla.com/D149023
This commit is contained in:
serge-sans-paille 2022-06-22 09:45:04 +00:00
parent 3c8d1a8b26
commit 0f59369eb4
8 changed files with 1 additions and 16 deletions

View File

@ -8,7 +8,6 @@
#include "js/experimental/CTypes.h" // JS::CTypesActivity{Callback,Type}, JS::InitCTypesClass, JS::SetCTypesActivityCallback, JS::SetCTypesCallbacks
#include "mozilla/CheckedInt.h"
#include "mozilla/FloatingPoint.h"
#include "mozilla/MemoryReporting.h"
#include "mozilla/Sprintf.h"
#include "mozilla/TextUtils.h"
@ -25,7 +24,6 @@
# include <ieeefp.h>
#endif
#include <limits>
#include <math.h>
#include <stdint.h>
#ifdef HAVE_SSIZE_T
# include <sys/types.h>
@ -38,7 +36,6 @@
#include "ctypes/Library.h"
#include "gc/GCContext.h"
#include "gc/Policy.h"
#include "jit/AtomicOperations.h"
#include "js/Array.h" // JS::GetArrayLength, JS::IsArrayObject, JS::NewArrayObject
#include "js/ArrayBuffer.h" // JS::{IsArrayBufferObject,GetArrayBufferData,GetArrayBuffer{ByteLength,Data}}

View File

@ -172,8 +172,6 @@
#include <type_traits>
#include <utility>
#include "jspubtd.h"
#include "frontend/CompilationStencil.h" // CompilationState
#include "frontend/ErrorReporter.h"
#include "frontend/FullParseHandler.h"

View File

@ -9,8 +9,6 @@
#include "mozilla/Assertions.h"
#include "gc/Statistics.h"
#include "vm/ArgumentsObject.h"
#include "vm/JSContext.h"
#include "vm/MutexIDs.h"
#include "vm/Runtime.h"

View File

@ -12,10 +12,7 @@
#include "mozilla/EndianUtils.h"
#include "jstypes.h"
#include "js/Utility.h"
#include "util/Memory.h"
using namespace js;

View File

@ -12,8 +12,6 @@
* and back conversion package.
*/
#include <stddef.h>
struct DtoaState;
namespace js {

View File

@ -18,7 +18,6 @@
#include "jstypes.h"
#include "util/Poison.h"
#include "util/WindowsWrapper.h"
#include "vm/HelperThreads.h"
using namespace js;

View File

@ -24,7 +24,6 @@
#include "vm/FrameIter.h" // js::JitFrameIter
#include "vm/JSContext.h"
#include "vm/JSScript.h"
#include "vm/Runtime.h"
#include "vm/TraceLoggingGraph.h"
using namespace js;

View File

@ -19,10 +19,9 @@
#include "js/friend/ErrorMessages.h" // js::GetErrorMessage, JSMSG_*
#include "js/HashTable.h"
#include "js/TraceLoggerAPI.h"
#include "js/TypeDecls.h"
#include "js/Utility.h"
#include "js/Vector.h"
#include "threading/LockGuard.h"
#include "threading/Mutex.h"
#include "vm/MutexIDs.h"
#include "vm/TraceLoggingGraph.h"
#include "vm/TraceLoggingTypes.h"