Bug 883697 (part 4a) - Make include guards consistent in still more of js/src/. r=njn.

--HG--
extra : rebase_source : 4095ac207c0468df9bd3975d49edc6848043403b
This commit is contained in:
Emanuel Hoogeveen 2013-06-19 18:04:28 -07:00
parent c9e34d1860
commit 2e6891d3e4
55 changed files with 171 additions and 162 deletions

View File

@ -4,8 +4,8 @@
* 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/. */
#ifndef jsgc_barrier_inl_h___
#define jsgc_barrier_inl_h___
#ifndef gc_Barrier_inl_h
#define gc_Barrier_inl_h
#include "gc/Barrier.h"
#include "gc/Marking.h"
@ -585,4 +585,4 @@ ReadBarrieredValue::toObject() const
} /* namespace js */
#endif /* jsgc_barrier_inl_h___ */
#endif /* gc_Barrier_inl_h */

View File

@ -4,8 +4,8 @@
* 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/. */
#ifndef jsgc_barrier_h___
#define jsgc_barrier_h___
#ifndef gc_Barrier_h
#define gc_Barrier_h
#include "jsapi.h"
@ -659,4 +659,4 @@ template <> struct IsRelocatableHeapType<HeapId> { static const bool result =
} /* namespace tl */
} /* namespace js */
#endif /* jsgc_barrier_h___ */
#endif /* gc_Barrier_h */

View File

@ -4,6 +4,9 @@
* 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/. */
#ifndef gc_FindSCCs_inl_h
#define gc_FindSCCs_inl_h
#include "jsfriendapi.h"
#include "gc/FindSCCs.h"
@ -145,3 +148,5 @@ ComponentFinder<Node>::mergeGroups(Node *first)
} /* namespace gc */
} /* namespace js */
#endif /* gc_FindSCCs_inl_h */

View File

@ -4,8 +4,8 @@
* 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/. */
#ifndef gc_findsccs_h___
#define gc_findsccs_h___
#ifndef gc_FindSCCs_h
#define gc_FindSCCs_h
#include "jsutil.h"
@ -99,4 +99,4 @@ class ComponentFinder
} /* namespace gc */
} /* namespace js */
#endif /* gc_findsccs_h___ */
#endif /* gc_FindSCCs_h */

View File

@ -4,8 +4,8 @@
* 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/. */
#ifndef jsgc_internal_h___
#define jsgc_internal_h___
#ifndef gc_GCInternals_h
#define gc_GCInternals_h
#include "jsapi.h"
@ -144,4 +144,4 @@ struct AutoStopVerifyingBarriers
} /* namespace gc */
} /* namespace js */
#endif /* jsgc_internal_h___ */
#endif /* gc_GCInternals_h */

View File

@ -4,8 +4,8 @@
* 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/. */
#ifndef gc_heap_h___
#define gc_heap_h___
#ifndef gc_Heap_h
#define gc_Heap_h
#include "mozilla/Attributes.h"
#include "mozilla/PodOperations.h"
@ -1063,4 +1063,4 @@ InFreeList(ArenaHeader *aheader, void *thing)
} /* namespace gc */
} /* namespace js */
#endif /* gc_heap_h___ */
#endif /* gc_Heap_h */

View File

@ -4,8 +4,8 @@
* 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/. */
#ifndef gc_marking_h___
#define gc_marking_h___
#ifndef gc_Marking_h
#define gc_Marking_h
#include "jsgc.h"
#include "jscntxt.h"
@ -410,4 +410,4 @@ TraceChildren(JSTracer *trc, void *thing, JSGCTraceKind kind);
} /* namespace js */
#endif /* gc_marking_h___ */
#endif /* gc_Marking_h */

View File

@ -4,8 +4,8 @@
* 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/. */
#ifndef jsgc_memory_h___
#define jsgc_memory_h___
#ifndef gc_Memory_h
#define gc_Memory_h
#include <stddef.h>
#include "jsgc.h"
@ -36,4 +36,4 @@ size_t GetPageFaultCount();
} // namespace gc
} // namespace js
#endif // jsgc_memory_h___
#endif /* gc_Memory_h */

View File

@ -5,9 +5,10 @@
* 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/. */
#ifndef gc_Nursery_inl_h
#define gc_Nursery_inl_h
#ifdef JSGC_GENERATIONAL
#ifndef gc_Nursery_inl_h__
#define gc_Nursery_inl_h__
#include "gc/Heap.h"
#include "gc/Nursery.h"
@ -79,5 +80,6 @@ js::Nursery::getForwardedPointer(T **ref)
return true;
}
#endif /* gc_Nursery_inl_h__ */
#endif /* JSGC_GENERATIONAL */
#endif /* gc_Nursery_inl_h */

View File

@ -5,8 +5,8 @@
* 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/. */
#ifndef jsgc_nursery_h___
#define jsgc_nursery_h___
#ifndef gc_Nursery_h
#define gc_Nursery_h
#ifdef JSGC_GENERATIONAL
@ -239,4 +239,4 @@ class Nursery
} /* namespace js */
#endif /* JSGC_GENERATIONAL */
#endif /* jsgc_nursery_h___ */
#endif /* gc_Nursery_h */

View File

@ -4,8 +4,8 @@
* 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/. */
#ifndef jsgc_statistics_h___
#define jsgc_statistics_h___
#ifndef gc_Statistics_h
#define gc_Statistics_h
#include "mozilla/DebugOnly.h"
#include "mozilla/PodOperations.h"
@ -228,4 +228,4 @@ struct AutoSCC
} /* namespace gcstats */
} /* namespace js */
#endif /* jsgc_statistics_h___ */
#endif /* gc_Statistics_h */

View File

@ -4,8 +4,8 @@
* 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/. */
#ifndef jsgc_storebuffer_h___
#define jsgc_storebuffer_h___
#ifndef gc_StoreBuffer_h
#define gc_StoreBuffer_h
#ifdef JSGC_GENERATIONAL
@ -443,4 +443,4 @@ class StoreBuffer
#endif /* JSGC_GENERATIONAL */
#endif /* jsgc_storebuffer_h___ */
#endif /* gc_StoreBuffer_h */

View File

@ -4,8 +4,8 @@
* 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/. */
#ifndef gc_zone_h___
#define gc_zone_h___
#ifndef gc_Zone_h
#define gc_Zone_h
#include "mozilla/Attributes.h"
#include "mozilla/GuardObjects.h"
@ -415,4 +415,4 @@ typedef CompartmentsIterT<ZonesIter> CompartmentsIter;
} /* namespace js */
#endif /* gc_zone_h___ */
#endif /* gc_Zone_h */

View File

@ -4,8 +4,8 @@
* 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/. */
#ifndef ArgumentsObject_inl_h___
#define ArgumentsObject_inl_h___
#ifndef vm_ArgumentsObject_inl_h
#define vm_ArgumentsObject_inl_h
#include "vm/ArgumentsObject.h"
@ -161,4 +161,4 @@ NormalArgumentsObject::clearCallee()
} /* namespace js */
#endif /* ArgumentsObject_inl_h___ */
#endif /* vm_ArgumentsObject_inl_h */

View File

@ -4,8 +4,8 @@
* 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/. */
#ifndef ArgumentsObject_h___
#define ArgumentsObject_h___
#ifndef vm_ArgumentsObject_h
#define vm_ArgumentsObject_h
#include "jsfun.h"
@ -253,4 +253,4 @@ JSObject::is<js::ArgumentsObject>() const
return is<js::NormalArgumentsObject>() || is<js::StrictArgumentsObject>();
}
#endif /* ArgumentsObject_h___ */
#endif /* vm_ArgumentsObject_h */

View File

@ -4,8 +4,8 @@
* 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/. */
#ifndef BooleanObject_inl_h___
#define BooleanObject_inl_h___
#ifndef vm_BooleanObject_inl_h
#define vm_BooleanObject_inl_h
#include "vm/BooleanObject.h"
@ -26,4 +26,4 @@ BooleanObject::create(JSContext *cx, bool b)
} // namespace js
#endif /* BooleanObject_inl_h__ */
#endif /* vm_BooleanObject_inl_h */

View File

@ -4,8 +4,8 @@
* 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/. */
#ifndef BooleanObject_h___
#define BooleanObject_h___
#ifndef vm_BooleanObject_h
#define vm_BooleanObject_h
#include "jsbool.h"
@ -43,4 +43,4 @@ class BooleanObject : public JSObject
} // namespace js
#endif /* BooleanObject_h__ */
#endif /* vm_BooleanObject_h */

View File

@ -6,8 +6,8 @@
/* A higher-order macro for enumerating all cached property names. */
#ifndef CommonPropertyNames_h__
#define CommonPropertyNames_h__
#ifndef vm_CommonPropertyNames_h
#define vm_CommonPropertyNames_h
#include "jsprototypes.h"
#include "jsversion.h"
@ -159,4 +159,4 @@
macro(boolean, boolean, "boolean") \
macro(null, null, "null")
#endif /* CommonPropertyNames_h__ */
#endif /* vm_CommonPropertyNames_h */

View File

@ -4,8 +4,8 @@
* 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/. */
#ifndef DateTime_h___
#define DateTime_h___
#ifndef vm_DateTime_h
#define vm_DateTime_h
#include "mozilla/FloatingPoint.h"
#include "mozilla/MathAlgorithms.h"
@ -157,4 +157,4 @@ class DateTimeInfo
} /* namespace js */
#endif /* DateTime_h___ */
#endif /* vm_DateTime_h */

View File

@ -4,8 +4,8 @@
* 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/. */
#ifndef Debugger_inl_h__
#define Debugger_inl_h__
#ifndef vm_Debugger_inl_h
#define vm_Debugger_inl_h
#include "vm/Debugger.h"
@ -22,4 +22,4 @@ js::Debugger::onLeaveFrame(JSContext *cx, AbstractFramePtr frame, bool ok)
return ok;
}
#endif // Debugger_inl_h__
#endif /* vm_Debugger_inl_h */

View File

@ -4,8 +4,8 @@
* 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/. */
#ifndef Debugger_h__
#define Debugger_h__
#ifndef vm_Debugger_h
#define vm_Debugger_h
#include "mozilla/LinkedList.h"
@ -696,4 +696,4 @@ EvaluateInEnv(JSContext *cx, Handle<Env*> env, HandleValue thisv, AbstractFrameP
}
#endif /* Debugger_h__ */
#endif /* vm_Debugger_h */

View File

@ -4,8 +4,8 @@
* 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/. */
#ifndef ForkJoin_h__
#define ForkJoin_h__
#ifndef vm_ForkJoin_h
#define vm_ForkJoin_h
#include "jscntxt.h"
#include "vm/ThreadPool.h"
@ -495,4 +495,4 @@ js::ForkJoinSlice::Current()
#endif
}
#endif // ForkJoin_h__
#endif /* vm_ForkJoin_h */

View File

@ -4,8 +4,8 @@
* 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/. */
#ifndef GlobalObject_inl_h___
#define GlobalObject_inl_h___
#ifndef vm_GlobalObject_inl_h
#define vm_GlobalObject_inl_h
#include "vm/GlobalObject.h"
@ -219,4 +219,4 @@ GlobalObject::setIntrinsicsHolder(JSObject *obj)
} // namespace js
#endif
#endif /* vm_GlobalObject_inl_h */

View File

@ -4,8 +4,8 @@
* 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/. */
#ifndef GlobalObject_h___
#define GlobalObject_h___
#ifndef vm_GlobalObject_h
#define vm_GlobalObject_h
#include "mozilla/DebugOnly.h"
@ -481,4 +481,4 @@ JSObject::asGlobal()
return *static_cast<js::GlobalObject *>(this);
}
#endif /* GlobalObject_h___ */
#endif /* vm_GlobalObject_h */

View File

@ -4,8 +4,8 @@
* 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/. */
#ifndef Interpreter_inl_h__
#define Interpreter_inl_h__
#ifndef vm_Interpreter_inl_h
#define vm_Interpreter_inl_h
#include "jsapi.h"
#include "jsbool.h"
@ -1033,4 +1033,4 @@ class FastInvokeGuard
} /* namespace js */
#endif /* Interpreter_inl_h__ */
#endif /* vm_Interpreter_inl_h */

View File

@ -4,11 +4,13 @@
* 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/. */
#ifndef Interpreter_h___
#define Interpreter_h___
#ifndef vm_Interpreter_h
#define vm_Interpreter_h
/*
* JS interpreter interface.
*/
#include "jsiter.h"
#include "jsprvtd.h"
#include "jspubtd.h"
@ -541,4 +543,4 @@ InitGetterSetterOperation(JSContext *cx, jsbytecode *pc, HandleObject obj, Handl
} /* namespace js */
#endif /* Interpreter_h___ */
#endif /* vm_Interpreter_h */

View File

@ -6,8 +6,8 @@
/* A higher-order macro for enumerating keyword tokens. */
#ifndef Keywords_h_
#define Keywords_h_
#ifndef vm_Keywords_h
#define vm_Keywords_h
#include "jsversion.h"
@ -84,4 +84,4 @@
FOR_LET_KEYWORD(macro) \
FOR_YIELD_KEYWORD(macro)
#endif /* Keywords_h_ */
#endif /* vm_Keywords_h */

View File

@ -4,8 +4,8 @@
* 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/. */
#ifndef MatchPairs_h__
#define MatchPairs_h__
#ifndef vm_MatchPairs_h
#define vm_MatchPairs_h
#include "ds/LifoAlloc.h"
@ -158,4 +158,4 @@ struct MatchConduit
} /* namespace js */
#endif /* MatchPairs_h__ */
#endif /* vm_MatchPairs_h */

View File

@ -4,8 +4,8 @@
* 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/. */
#ifndef Monitor_h__
#define Monitor_h__
#ifndef vm_Monitor_h
#define vm_Monitor_h
#include "jslock.h"
@ -115,4 +115,4 @@ class AutoUnlockMonitor
} // namespace js
#endif // Monitor_h__
#endif /* vm_Monitor_h */

View File

@ -4,8 +4,8 @@
* 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/. */
#ifndef NumberObject_inl_h___
#define NumberObject_inl_h___
#ifndef vm_NumberObject_inl_h
#define vm_NumberObject_inl_h
#include "NumberObject.h"
@ -26,4 +26,4 @@ NumberObject::create(JSContext *cx, double d)
} // namespace js
#endif /* NumberObject_inl_h__ */
#endif /* vm_NumberObject_inl_h */

View File

@ -4,8 +4,8 @@
* 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/. */
#ifndef NumberObject_h___
#define NumberObject_h___
#ifndef vm_NumberObject_h
#define vm_NumberObject_h
#include "jsnum.h"
@ -43,4 +43,4 @@ class NumberObject : public JSObject
} // namespace js
#endif /* NumberObject_h__ */
#endif /* vm_NumberObject_h */

View File

@ -4,8 +4,8 @@
* 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/. */
#ifndef NumericConversions_h___
#define NumericConversions_h___
#ifndef vm_NumericConversions_h
#define vm_NumericConversions_h
#include "mozilla/Assertions.h"
#include "mozilla/Casting.h"
@ -299,4 +299,4 @@ ToInteger(double d)
} /* namespace js */
#endif /* NumericConversions_h__ */
#endif /* vm_NumericConversions_h */

View File

@ -4,8 +4,8 @@
* 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/. */
#ifndef ObjectImpl_inl_h___
#define ObjectImpl_inl_h___
#ifndef vm_ObjectImpl_inl_h
#define vm_ObjectImpl_inl_h
#include "mozilla/Assertions.h"
@ -462,4 +462,4 @@ js::ObjectImpl::initPrivate(void *data)
privateRef(numFixedSlots()) = data;
}
#endif /* ObjectImpl_inl_h__ */
#endif /* vm_ObjectImpl_inl_h */

View File

@ -4,8 +4,8 @@
* 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/. */
#ifndef ObjectImpl_h___
#define ObjectImpl_h___
#ifndef vm_ObjectImpl_h
#define vm_ObjectImpl_h
#include "mozilla/Assertions.h"
#include "mozilla/GuardObjects.h"
@ -1639,4 +1639,4 @@ template <> struct GCMethods<PropertyId>
} /* namespace js */
#endif /* ObjectImpl_h__ */
#endif /* vm_ObjectImpl_h */

View File

@ -4,8 +4,8 @@
* 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/. */
#ifndef Probes_inl_h__
#define Probes_inl_h__
#ifndef vm_Probes_inl_h
#define vm_Probes_inl_h
#include "vm/Probes.h"
@ -124,4 +124,4 @@ Probes::stopExecution(JSScript *script)
} /* namespace js */
#endif // Probes_inl_h__
#endif /* vm_Probes_inl_h */

View File

@ -4,8 +4,8 @@
* 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/. */
#ifndef Probes_h__
#define Probes_h__
#ifndef vm_Probes_h
#define vm_Probes_h
#include "jspubtd.h"
#include "jsobj.h"
@ -170,4 +170,4 @@ Probes::finalizeObject(JSObject *obj)
} /* namespace js */
#endif // Probes_h__
#endif /* vm_Probes_h */

View File

@ -4,8 +4,8 @@
* 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/. */
#ifndef RegExpObject_inl_h___
#define RegExpObject_inl_h___
#ifndef vm_RegExpObject_inl_h
#define vm_RegExpObject_inl_h
#include "mozilla/Util.h"
@ -169,4 +169,4 @@ MatchPairs::checkAgainst(size_t inputLength)
} /* namespace js */
#endif
#endif /* vm_RegExpObject_inl_h */

View File

@ -4,8 +4,8 @@
* 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/. */
#ifndef RegExpObject_h__
#define RegExpObject_h__
#ifndef vm_RegExpObject_h
#define vm_RegExpObject_h
#include "mozilla/Attributes.h"
@ -401,4 +401,4 @@ CloneScriptRegExpObject(JSContext *cx, RegExpObject &re);
} /* namespace js */
#endif
#endif /* vm_RegExpObject_h */

View File

@ -4,8 +4,8 @@
* 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/. */
#ifndef RegExpStatics_inl_h__
#define RegExpStatics_inl_h__
#ifndef vm_RegExpStatics_inl_h
#define vm_RegExpStatics_inl_h
#include "vm/RegExpStatics.h"
@ -583,4 +583,4 @@ JSContext::regExpStatics()
return global()->getRegExpStatics();
}
#endif
#endif /* vm_RegExpStatics_inl_h */

View File

@ -4,8 +4,8 @@
* 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/. */
#ifndef RegExpStatics_h__
#define RegExpStatics_h__
#ifndef vm_RegExpStatics_h
#define vm_RegExpStatics_h
#include <stddef.h>
@ -22,4 +22,4 @@ size_t SizeOfRegExpStaticsData(const JSObject *obj, JSMallocSizeOfFun mallocSize
} /* namespace js */
#endif /* RegExpStatics_h__ */
#endif /* vm_RegExpStatics_h */

View File

@ -4,8 +4,8 @@
* 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/. */
#ifndef SPSProfiler_h__
#define SPSProfiler_h__
#ifndef vm_SPSProfiler_h
#define vm_SPSProfiler_h
#include <stddef.h>
@ -390,4 +390,4 @@ class SPSInstrumentation
} /* namespace js */
#endif /* SPSProfiler_h__ */
#endif /* vm_SPSProfiler_h */

View File

@ -4,8 +4,8 @@
* 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/. */
#ifndef ScopeObject_inl_h___
#define ScopeObject_inl_h___
#ifndef vm_ScopeObject_inl_h
#define vm_ScopeObject_inl_h
#include "ScopeObject.h"
@ -270,4 +270,4 @@ ClonedBlockObject::setVar(unsigned i, const Value &v, MaybeCheckAliasing checkAl
} /* namespace js */
#endif /* ScopeObject_inl_h___ */
#endif /* vm_ScopeObject_inl_h */

View File

@ -4,8 +4,8 @@
* 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/. */
#ifndef ScopeObject_h___
#define ScopeObject_h___
#ifndef vm_ScopeObject_h
#define vm_ScopeObject_h
#include "jscntxt.h"
#include "jsobj.h"
@ -648,4 +648,4 @@ JSObject::is<js::DebugScopeObject>() const
return getClass() == &js::ObjectProxyClass && js_IsDebugScopeSlow(const_cast<JSObject*>(this));
}
#endif /* ScopeObject_h___ */
#endif /* vm_ScopeObject_h */

View File

@ -4,8 +4,8 @@
* 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/. */
#ifndef Shape_inl_h__
#define Shape_inl_h__
#ifndef vm_Shape_inl_h
#define vm_Shape_inl_h
#include "mozilla/PodOperations.h"
@ -543,4 +543,4 @@ GetShapeAttributes(HandleShape shape)
} /* namespace js */
#endif /* Shape_inl_h__ */
#endif /* vm_Shape_inl_h */

View File

@ -4,8 +4,8 @@
* 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/. */
#ifndef Shape_h___
#define Shape_h___
#ifndef vm_Shape_h
#define vm_Shape_h
#include "mozilla/Attributes.h"
#include "mozilla/GuardObjects.h"
@ -1136,4 +1136,4 @@ template<> class AnchorPermitted<js::Shape *> { };
template<> class AnchorPermitted<const js::Shape *> { };
}
#endif /* Shape_h___ */
#endif /* vm_Shape_h */

View File

@ -4,8 +4,8 @@
* 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/. */
#ifndef Stack_inl_h__
#define Stack_inl_h__
#ifndef vm_Stack_inl_h
#define vm_Stack_inl_h
#include "mozilla/PodOperations.h"
@ -907,4 +907,4 @@ InterpreterActivation::~InterpreterActivation()
} /* namespace js */
#endif /* Stack_inl_h__ */
#endif /* vm_Stack_inl_h */

View File

@ -4,8 +4,8 @@
* 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/. */
#ifndef Stack_h__
#define Stack_h__
#ifndef vm_Stack_h
#define vm_Stack_h
#include "jsautooplen.h"
#include "jsfun.h"
@ -1921,4 +1921,4 @@ class AllFramesIter : public ScriptFrameIter
};
} /* namespace js */
#endif /* Stack_h__ */
#endif /* vm_Stack_h */

View File

@ -4,8 +4,8 @@
* 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/. */
#ifndef String_inl_h__
#define String_inl_h__
#ifndef vm_String_inl_h
#define vm_String_inl_h
#include "vm/String.h"
@ -509,4 +509,4 @@ JSExternalString::finalize(js::FreeOp *fop)
fin->finalize(fin, const_cast<jschar *>(chars()));
}
#endif
#endif /* vm_String_inl_h */

View File

@ -4,8 +4,8 @@
* 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/. */
#ifndef String_h_
#define String_h_
#ifndef vm_String_h
#define vm_String_h
#include "mozilla/PodOperations.h"
@ -992,4 +992,4 @@ JSAtom::asPropertyName()
return static_cast<js::PropertyName *>(this);
}
#endif
#endif /* vm_String_h */

View File

@ -4,8 +4,8 @@
* 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/. */
#ifndef StringBuffer_h___
#define StringBuffer_h___
#ifndef vm_StringBuffer_h
#define vm_StringBuffer_h
#include "mozilla/DebugOnly.h"
@ -149,4 +149,4 @@ BooleanToStringBuffer(JSContext *cx, bool b, StringBuffer &sb)
} /* namespace js */
#endif /* StringBuffer_h___ */
#endif /* vm_StringBuffer_h */

View File

@ -4,8 +4,8 @@
* 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/. */
#ifndef StringObject_inl_h___
#define StringObject_inl_h___
#ifndef vm_StringObject_inl_h
#define vm_StringObject_inl_h
#include "StringObject.h"
@ -54,4 +54,4 @@ StringObject::create(JSContext *cx, HandleString str, NewObjectKind newKind)
} // namespace js
#endif /* StringObject_inl_h__ */
#endif /* vm_StringObject_inl_h */

View File

@ -4,8 +4,8 @@
* 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/. */
#ifndef StringObject_h___
#define StringObject_h___
#ifndef vm_StringObject_h
#define vm_StringObject_h
#include "jsobj.h"
#include "jsstr.h"
@ -67,4 +67,4 @@ class StringObject : public JSObject
} // namespace js
#endif /* StringObject_h__ */
#endif /* vm_StringObject_h */

View File

@ -4,8 +4,8 @@
* 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/. */
#ifndef ThreadPool_h__
#define ThreadPool_h__
#ifndef vm_ThreadPool_h
#define vm_ThreadPool_h
#include <stddef.h>
#include "mozilla/StandardInteger.h"
@ -103,4 +103,4 @@ class ThreadPool
} // namespace js
#endif // ThreadPool_h__
#endif /* vm_ThreadPool_h */

View File

@ -4,8 +4,8 @@
* 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/. */
#ifndef Unicode_h__
#define Unicode_h__
#ifndef vm_Unicode_h
#define vm_Unicode_h
#include "jspubtd.h"
@ -224,4 +224,4 @@ ToLowerCase(jschar ch)
} /* namespace unicode */
} /* namespace js */
#endif /* Unicode_h__ */
#endif /* vm_Unicode_h */

View File

@ -4,8 +4,8 @@
* 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/. */
#ifndef Xdr_h___
#define Xdr_h___
#ifndef vm_Xdr_h
#define vm_Xdr_h
#include "mozilla/Endian.h"
@ -244,4 +244,4 @@ class XDRDecoder : public XDRState<XDR_DECODE> {
} /* namespace js */
#endif /* Xdr_h___ */
#endif /* vm_Xdr_h */