mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 911043 (part 2) - Remove unnecessary jsapi.h includes in SpiderMonkey. r=luke.
--HG-- extra : rebase_source : 2320e364bb9efb59283a572e100185702ef494da
This commit is contained in:
parent
2f9b5c3933
commit
aca7bc3a15
@ -7,7 +7,6 @@
|
|||||||
#ifndef builtin_BinaryData_h
|
#ifndef builtin_BinaryData_h
|
||||||
#define builtin_BinaryData_h
|
#define builtin_BinaryData_h
|
||||||
|
|
||||||
#include "jsapi.h"
|
|
||||||
#include "jsobj.h"
|
#include "jsobj.h"
|
||||||
|
|
||||||
#include "builtin/TypeRepresentation.h"
|
#include "builtin/TypeRepresentation.h"
|
||||||
|
@ -7,7 +7,6 @@
|
|||||||
#ifndef builtin_Eval_h
|
#ifndef builtin_Eval_h
|
||||||
#define builtin_Eval_h
|
#define builtin_Eval_h
|
||||||
|
|
||||||
#include "jsapi.h"
|
|
||||||
#include "jsbytecode.h"
|
#include "jsbytecode.h"
|
||||||
#include "NamespaceImports.h"
|
#include "NamespaceImports.h"
|
||||||
|
|
||||||
|
@ -7,7 +7,6 @@
|
|||||||
#ifndef builtin_Intl_h
|
#ifndef builtin_Intl_h
|
||||||
#define builtin_Intl_h
|
#define builtin_Intl_h
|
||||||
|
|
||||||
#include "jsapi.h"
|
|
||||||
#include "NamespaceImports.h"
|
#include "NamespaceImports.h"
|
||||||
|
|
||||||
#include "js/RootingAPI.h"
|
#include "js/RootingAPI.h"
|
||||||
|
@ -7,7 +7,6 @@
|
|||||||
#ifndef builtin_TestingFunctions_h
|
#ifndef builtin_TestingFunctions_h
|
||||||
#define builtin_TestingFunctions_h
|
#define builtin_TestingFunctions_h
|
||||||
|
|
||||||
#include "jsapi.h"
|
|
||||||
#include "NamespaceImports.h"
|
#include "NamespaceImports.h"
|
||||||
|
|
||||||
namespace js {
|
namespace js {
|
||||||
@ -16,10 +15,10 @@ bool
|
|||||||
DefineTestingFunctions(JSContext *cx, HandleObject obj);
|
DefineTestingFunctions(JSContext *cx, HandleObject obj);
|
||||||
|
|
||||||
bool
|
bool
|
||||||
testingFunc_inParallelSection(JSContext *cx, unsigned argc, jsval *vp);
|
testingFunc_inParallelSection(JSContext *cx, unsigned argc, Value *vp);
|
||||||
|
|
||||||
bool
|
bool
|
||||||
testingFunc_bailout(JSContext *cx, unsigned argc, jsval *vp);
|
testingFunc_bailout(JSContext *cx, unsigned argc, Value *vp);
|
||||||
|
|
||||||
} /* namespace js */
|
} /* namespace js */
|
||||||
|
|
||||||
|
@ -7,7 +7,6 @@
|
|||||||
#ifndef ds_IdValuePair_h
|
#ifndef ds_IdValuePair_h
|
||||||
#define ds_IdValuePair_h
|
#define ds_IdValuePair_h
|
||||||
|
|
||||||
#include "jsapi.h"
|
|
||||||
#include "NamespaceImports.h"
|
#include "NamespaceImports.h"
|
||||||
|
|
||||||
namespace js {
|
namespace js {
|
||||||
|
@ -7,7 +7,6 @@
|
|||||||
#ifndef frontend_BytecodeCompiler_h
|
#ifndef frontend_BytecodeCompiler_h
|
||||||
#define frontend_BytecodeCompiler_h
|
#define frontend_BytecodeCompiler_h
|
||||||
|
|
||||||
#include "jsapi.h"
|
|
||||||
#include "NamespaceImports.h"
|
#include "NamespaceImports.h"
|
||||||
|
|
||||||
class JSLinearString;
|
class JSLinearString;
|
||||||
|
@ -10,10 +10,11 @@
|
|||||||
#include "mozilla/DebugOnly.h"
|
#include "mozilla/DebugOnly.h"
|
||||||
#include "mozilla/PodOperations.h"
|
#include "mozilla/PodOperations.h"
|
||||||
|
|
||||||
#include "jsapi.h"
|
#include "jsalloc.h"
|
||||||
#include "jspubtd.h"
|
#include "jspubtd.h"
|
||||||
|
|
||||||
#include "js/GCAPI.h"
|
#include "js/GCAPI.h"
|
||||||
|
#include "js/Vector.h"
|
||||||
|
|
||||||
struct JSCompartment;
|
struct JSCompartment;
|
||||||
|
|
||||||
|
@ -7,7 +7,9 @@
|
|||||||
#ifndef jit_AsmJS_h
|
#ifndef jit_AsmJS_h
|
||||||
#define jit_AsmJS_h
|
#define jit_AsmJS_h
|
||||||
|
|
||||||
#include "jsapi.h"
|
#include <stddef.h>
|
||||||
|
|
||||||
|
#include "js/TypeDecls.h"
|
||||||
|
|
||||||
namespace js {
|
namespace js {
|
||||||
|
|
||||||
|
@ -7,7 +7,6 @@
|
|||||||
#ifndef jit_AsmJSLink_h
|
#ifndef jit_AsmJSLink_h
|
||||||
#define jit_AsmJSLink_h
|
#define jit_AsmJSLink_h
|
||||||
|
|
||||||
#include "jsapi.h"
|
|
||||||
#include "NamespaceImports.h"
|
#include "NamespaceImports.h"
|
||||||
|
|
||||||
namespace js {
|
namespace js {
|
||||||
|
@ -9,7 +9,6 @@
|
|||||||
|
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
|
|
||||||
#include "jsapi.h"
|
|
||||||
#include "NamespaceImports.h"
|
#include "NamespaceImports.h"
|
||||||
|
|
||||||
#include "js/RootingAPI.h"
|
#include "js/RootingAPI.h"
|
||||||
|
@ -9,11 +9,9 @@
|
|||||||
#ifndef jsapi_h
|
#ifndef jsapi_h
|
||||||
#define jsapi_h
|
#define jsapi_h
|
||||||
|
|
||||||
#include "mozilla/Compiler.h"
|
|
||||||
#include "mozilla/FloatingPoint.h"
|
#include "mozilla/FloatingPoint.h"
|
||||||
#include "mozilla/MemoryReporting.h"
|
#include "mozilla/MemoryReporting.h"
|
||||||
#include "mozilla/RangedPtr.h"
|
#include "mozilla/RangedPtr.h"
|
||||||
#include "mozilla/TypeTraits.h"
|
|
||||||
|
|
||||||
#include <stdarg.h>
|
#include <stdarg.h>
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
@ -24,7 +22,6 @@
|
|||||||
#include "jspubtd.h"
|
#include "jspubtd.h"
|
||||||
|
|
||||||
#include "js/CallArgs.h"
|
#include "js/CallArgs.h"
|
||||||
#include "js/CallNonGenericMethod.h"
|
|
||||||
#include "js/Class.h"
|
#include "js/Class.h"
|
||||||
#include "js/HashTable.h"
|
#include "js/HashTable.h"
|
||||||
#include "js/Id.h"
|
#include "js/Id.h"
|
||||||
|
@ -9,7 +9,6 @@
|
|||||||
|
|
||||||
#include "mozilla/MemoryReporting.h"
|
#include "mozilla/MemoryReporting.h"
|
||||||
|
|
||||||
#include "jsapi.h"
|
|
||||||
#include "NamespaceImports.h"
|
#include "NamespaceImports.h"
|
||||||
|
|
||||||
namespace js {
|
namespace js {
|
||||||
|
@ -9,7 +9,6 @@
|
|||||||
|
|
||||||
#include "mozilla/FloatingPoint.h"
|
#include "mozilla/FloatingPoint.h"
|
||||||
|
|
||||||
#include "jsapi.h"
|
|
||||||
#include "NamespaceImports.h"
|
#include "NamespaceImports.h"
|
||||||
|
|
||||||
#include "vm/NumericConversions.h"
|
#include "vm/NumericConversions.h"
|
||||||
|
@ -6,7 +6,6 @@
|
|||||||
|
|
||||||
#include "jspropertytree.h"
|
#include "jspropertytree.h"
|
||||||
|
|
||||||
#include "jsapi.h"
|
|
||||||
#include "jscntxt.h"
|
#include "jscntxt.h"
|
||||||
#include "jsgc.h"
|
#include "jsgc.h"
|
||||||
#include "jstypes.h"
|
#include "jstypes.h"
|
||||||
|
@ -10,13 +10,13 @@
|
|||||||
#include "mozilla/HashFunctions.h"
|
#include "mozilla/HashFunctions.h"
|
||||||
#include "mozilla/PodOperations.h"
|
#include "mozilla/PodOperations.h"
|
||||||
|
|
||||||
#include "jsapi.h"
|
|
||||||
#include "jsutil.h"
|
#include "jsutil.h"
|
||||||
#include "NamespaceImports.h"
|
#include "NamespaceImports.h"
|
||||||
|
|
||||||
#include "js/RootingAPI.h"
|
#include "js/RootingAPI.h"
|
||||||
#include "vm/Unicode.h"
|
#include "vm/Unicode.h"
|
||||||
|
|
||||||
|
class JSAutoByteString;
|
||||||
class JSFlatString;
|
class JSFlatString;
|
||||||
class JSLinearString;
|
class JSLinearString;
|
||||||
class JSStableString;
|
class JSStableString;
|
||||||
|
@ -8,7 +8,6 @@
|
|||||||
#define jswatchpoint_h
|
#define jswatchpoint_h
|
||||||
|
|
||||||
#include "jsalloc.h"
|
#include "jsalloc.h"
|
||||||
#include "jsapi.h"
|
|
||||||
|
|
||||||
#include "gc/Barrier.h"
|
#include "gc/Barrier.h"
|
||||||
#include "js/HashTable.h"
|
#include "js/HashTable.h"
|
||||||
|
@ -6,7 +6,10 @@
|
|||||||
#ifndef perf_jsperf_h
|
#ifndef perf_jsperf_h
|
||||||
#define perf_jsperf_h
|
#define perf_jsperf_h
|
||||||
|
|
||||||
#include "jsapi.h"
|
#include "jstypes.h"
|
||||||
|
|
||||||
|
#include "js/TypeDecls.h"
|
||||||
|
#include "js/Utility.h"
|
||||||
|
|
||||||
namespace JS {
|
namespace JS {
|
||||||
|
|
||||||
@ -118,12 +121,12 @@ extern JS_FRIEND_API(JSObject*)
|
|||||||
RegisterPerfMeasurement(JSContext *cx, JSObject *global);
|
RegisterPerfMeasurement(JSContext *cx, JSObject *global);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Given a jsval which contains an instance of the aforementioned
|
* Given a Value which contains an instance of the aforementioned
|
||||||
* wrapper class, extract the C++ object. Returns NULL if the
|
* wrapper class, extract the C++ object. Returns NULL if the
|
||||||
* jsval is not an instance of the wrapper.
|
* Value is not an instance of the wrapper.
|
||||||
*/
|
*/
|
||||||
extern JS_FRIEND_API(PerfMeasurement*)
|
extern JS_FRIEND_API(PerfMeasurement*)
|
||||||
ExtractPerfMeasurement(jsval wrapper);
|
ExtractPerfMeasurement(Value wrapper);
|
||||||
|
|
||||||
} // namespace JS
|
} // namespace JS
|
||||||
|
|
||||||
|
@ -9,7 +9,6 @@
|
|||||||
|
|
||||||
#include "mozilla/Endian.h"
|
#include "mozilla/Endian.h"
|
||||||
|
|
||||||
#include "jsapi.h"
|
|
||||||
#include "jsatom.h"
|
#include "jsatom.h"
|
||||||
|
|
||||||
namespace js {
|
namespace js {
|
||||||
|
Loading…
Reference in New Issue
Block a user