mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-01 06:35:42 +00:00
Bug 915482 (part 2) - Minimize gc/Barrier-inl.h includes. r=terrence.
--HG-- extra : rebase_source : d4faf130a8022f335ae0ddcd4e02fdc59109d47d
This commit is contained in:
parent
cd036919f1
commit
7d0ab29691
@ -9,13 +9,6 @@
|
||||
|
||||
#include "gc/Barrier.h"
|
||||
|
||||
#include "jscompartment.h"
|
||||
|
||||
#include "gc/Marking.h"
|
||||
#include "gc/StoreBuffer.h"
|
||||
|
||||
#include "vm/String-inl.h"
|
||||
|
||||
namespace js {
|
||||
|
||||
inline const Value &
|
||||
|
@ -9,8 +9,6 @@
|
||||
|
||||
#include "jsapi-tests/tests.h"
|
||||
|
||||
#include "vm/ObjectImpl-inl.h"
|
||||
|
||||
const unsigned BufferSize = 20;
|
||||
static unsigned FinalizeCalls = 0;
|
||||
static JSFinalizeStatus StatusBuffer[BufferSize];
|
||||
|
@ -8,6 +8,7 @@
|
||||
#define jscntxtinlines_h
|
||||
|
||||
#include "jscntxt.h"
|
||||
#include "jscompartment.h"
|
||||
|
||||
#include "jsiter.h"
|
||||
#include "jsworkers.h"
|
||||
@ -18,8 +19,6 @@
|
||||
#include "vm/Interpreter.h"
|
||||
#include "vm/ProxyObject.h"
|
||||
|
||||
#include "gc/Barrier-inl.h"
|
||||
|
||||
namespace js {
|
||||
|
||||
#ifdef JS_CRASH_DIAGNOSTICS
|
||||
|
@ -29,8 +29,6 @@
|
||||
#include "jsgcinlines.h"
|
||||
#include "jsinferinlines.h"
|
||||
|
||||
#include "gc/Barrier-inl.h"
|
||||
|
||||
using namespace js;
|
||||
using namespace js::gc;
|
||||
|
||||
|
@ -9,6 +9,8 @@
|
||||
|
||||
#include "jscompartment.h"
|
||||
|
||||
#include "gc/Barrier-inl.h"
|
||||
|
||||
inline void
|
||||
JSCompartment::initGlobal(js::GlobalObject &global)
|
||||
{
|
||||
|
@ -18,6 +18,7 @@
|
||||
|
||||
#include "jsatominlines.h"
|
||||
#include "jscompartmentinlines.h"
|
||||
#include "jsgcinlines.h"
|
||||
#include "jsinferinlines.h"
|
||||
|
||||
#include "vm/Shape-inl.h"
|
||||
|
@ -14,8 +14,6 @@
|
||||
|
||||
#include "jsgcinlines.h"
|
||||
|
||||
#include "gc/Barrier-inl.h"
|
||||
|
||||
using namespace js;
|
||||
using namespace js::gc;
|
||||
|
||||
|
@ -19,8 +19,6 @@
|
||||
|
||||
#include "jsobjinlines.h"
|
||||
|
||||
#include "gc/Barrier-inl.h"
|
||||
|
||||
using namespace js;
|
||||
|
||||
WeakMapBase::WeakMapBase(JSObject *memOf, JSCompartment *c)
|
||||
|
@ -24,6 +24,7 @@
|
||||
#include "jsobjinlines.h"
|
||||
|
||||
#include "vm/Stack-inl.h"
|
||||
#include "vm/String-inl.h"
|
||||
|
||||
namespace js {
|
||||
|
||||
|
@ -9,12 +9,11 @@
|
||||
|
||||
#include "vm/ObjectImpl.h"
|
||||
|
||||
#include "jscntxt.h"
|
||||
#include "jsproxy.h"
|
||||
|
||||
#include "vm/ProxyObject.h"
|
||||
|
||||
#include "gc/Barrier-inl.h"
|
||||
|
||||
/* static */ inline bool
|
||||
js::ObjectImpl::isExtensible(ExclusiveContext *cx, js::Handle<ObjectImpl*> obj, bool *extensible)
|
||||
{
|
||||
|
@ -21,7 +21,6 @@
|
||||
#include "jsobjinlines.h"
|
||||
#include "jsscriptinlines.h"
|
||||
|
||||
#include "gc/Barrier-inl.h"
|
||||
#include "vm/Stack-inl.h"
|
||||
|
||||
using namespace js;
|
||||
|
Loading…
Reference in New Issue
Block a user