Bug 1130849 - Rename jsinfer files, r=jandem.

This commit is contained in:
Brian Hackett 2015-02-09 09:20:25 -07:00
parent 3830f5aad3
commit c1ac6e19d6
45 changed files with 31 additions and 64 deletions

View File

@ -44,7 +44,6 @@
#include "vm/HelperThreads.h"
#include "vm/Interpreter.h"
#include "jsinferinlines.h"
#include "jsobjinlines.h"
#include "frontend/ParseNode-inl.h"

View File

@ -540,8 +540,8 @@ EmitLoopEntry(ExclusiveContext *cx, BytecodeEmitter *bce, ParseNode *nextpn)
}
/*
* If op is JOF_TYPESET (see the type barriers comment in jsinfer.h), reserve
* a type set to store its result.
* If op is JOF_TYPESET (see the type barriers comment in TypeInference.h),
* reserve a type set to store its result.
*/
static inline void
CheckTypeSet(ExclusiveContext *cx, BytecodeEmitter *bce, JSOp op)

View File

@ -15,7 +15,6 @@
#include "js/Conversions.h"
#include "jscntxtinlines.h"
#include "jsinferinlines.h"
#include "jsobjinlines.h"
using namespace js;

View File

@ -22,7 +22,6 @@
#include "vm/UnboxedObject.h"
#include "jscompartmentinlines.h"
#include "jsinferinlines.h"
#include "jsobjinlines.h"
#include "gc/Nursery-inl.h"

View File

@ -11,7 +11,6 @@
#include "jscompartment.h"
#include "jsgc.h"
#include "jsinfer.h"
#include "jsutil.h"
#include "prmjtime.h"
@ -24,6 +23,7 @@
#include "vm/ScopeObject.h"
#endif
#include "vm/TypedArrayObject.h"
#include "vm/TypeInference.h"
#include "jsgcinlines.h"

View File

@ -12,11 +12,11 @@
#include "mozilla/MemoryReporting.h"
#include "jscntxt.h"
#include "jsinfer.h"
#include "gc/FindSCCs.h"
#include "gc/GCRuntime.h"
#include "js/TracingAPI.h"
#include "vm/TypeInference.h"
namespace js {

View File

@ -44,7 +44,6 @@
#include "jscompartmentinlines.h"
#include "jsgcinlines.h"
#include "jsinferinlines.h"
#include "jsobjinlines.h"
using namespace js;

View File

@ -16,7 +16,6 @@
#include "jit/Lowering.h"
#include "jit/MIRGraph.h"
#include "jsinferinlines.h"
#include "jsobjinlines.h"
#include "jsopcodeinlines.h"

View File

@ -23,8 +23,6 @@
#include "vm/RegExpStatics.h"
#include "vm/TraceLogging.h"
#include "jsinferinlines.h"
#include "jsobjinlines.h"
#include "jsopcodeinlines.h"
#include "jsscriptinlines.h"

View File

@ -11,7 +11,6 @@
#include "mozilla/MemoryReporting.h"
#include "mozilla/PodOperations.h"
#include "jsinfer.h"
#include "jstypes.h"
#include "gc/Heap.h"
@ -20,6 +19,7 @@
#include "jit/IonTypes.h"
#include "js/UbiNode.h"
#include "vm/TraceLogging.h"
#include "vm/TypeInference.h"
namespace js {

View File

@ -7,7 +7,6 @@
#include "jit/JitFrames-inl.h"
#include "jsfun.h"
#include "jsinfer.h"
#include "jsobj.h"
#include "jsscript.h"
@ -31,13 +30,14 @@
#include "vm/Interpreter.h"
#include "vm/SPSProfiler.h"
#include "vm/TraceLogging.h"
#include "vm/TypeInference.h"
#include "jsinferinlines.h"
#include "jsscriptinlines.h"
#include "gc/Nursery-inl.h"
#include "jit/JitFrameIterator-inl.h"
#include "vm/Debugger-inl.h"
#include "vm/Probes-inl.h"
#include "vm/TypeInference-inl.h"
namespace js {
namespace jit {

View File

@ -7,6 +7,8 @@
#ifndef jit_JitOptions_h
#define jit_JitOptions_h
#include "mozilla/Maybe.h"
#include "jit/IonTypes.h"
#include "js/TypeDecls.h"

View File

@ -13,7 +13,6 @@
#include "jit/MIR.h"
#include "jit/MIRGraph.h"
#include "jsinferinlines.h"
#include "jsobjinlines.h"
#include "jsopcodeinlines.h"

View File

@ -22,7 +22,6 @@
#include "js/Conversions.h"
#include "jsatominlines.h"
#include "jsinferinlines.h"
#include "jsobjinlines.h"
using namespace js;

View File

@ -6,7 +6,6 @@
#include "jit/MacroAssembler.h"
#include "jsinfer.h"
#include "jsprf.h"
#include "builtin/TypedObject.h"
@ -22,7 +21,6 @@
#include "vm/TraceLogging.h"
#include "jsgcinlines.h"
#include "jsinferinlines.h"
#include "jsobjinlines.h"
#include "vm/Interpreter-inl.h"

View File

@ -9,11 +9,11 @@
#include "mozilla/Maybe.h"
#include "jsinfer.h"
#include "jit/CompactBuffer.h"
#include "jit/CompileInfo.h"
#include "jit/JitAllocPolicy.h"
#include "js/TrackedOptimizationInfo.h"
#include "vm/TypeInference.h"
namespace js {

View File

@ -18,14 +18,13 @@
#include "vm/Interpreter.h"
#include "vm/TraceLogging.h"
#include "jsinferinlines.h"
#include "jit/BaselineFrame-inl.h"
#include "jit/JitFrames-inl.h"
#include "vm/Debugger-inl.h"
#include "vm/Interpreter-inl.h"
#include "vm/NativeObject-inl.h"
#include "vm/StringObject-inl.h"
#include "vm/TypeInference-inl.h"
using namespace js;
using namespace js::jit;

View File

@ -88,7 +88,6 @@
#include "jsatominlines.h"
#include "jsfuninlines.h"
#include "jsinferinlines.h"
#include "jsscriptinlines.h"
#include "vm/Interpreter-inl.h"

View File

@ -28,7 +28,6 @@
#include "jsatominlines.h"
#include "jsfuninlines.h"
#include "jsgcinlines.h"
#include "jsinferinlines.h"
#include "jsobjinlines.h"
using namespace js;

View File

@ -33,8 +33,6 @@
#include "vm/StopIterationObject.h"
#include "vm/TypedArrayCommon.h"
#include "jsinferinlines.h"
#include "jsobjinlines.h"
#include "jsscriptinlines.h"
#include "vm/NativeObject-inl.h"

View File

@ -22,7 +22,8 @@
#include "jsatominlines.h"
#include "jscompartmentinlines.h"
#include "jsgcinlines.h"
#include "jsinferinlines.h"
#include "vm/TypeInference-inl.h"
inline void
JSObject::finalize(js::FreeOp *fop)

View File

@ -39,7 +39,6 @@
#include "jscntxtinlines.h"
#include "jscompartmentinlines.h"
#include "jsinferinlines.h"
#include "jsobjinlines.h"
#include "jsscriptinlines.h"

View File

@ -47,7 +47,6 @@
#include "vm/Xdr.h"
#include "jsfuninlines.h"
#include "jsinferinlines.h"
#include "jsobjinlines.h"
#include "vm/ScopeObject-inl.h"

View File

@ -44,11 +44,10 @@
#include "vm/ScopeObject.h"
#include "vm/StringBuffer.h"
#include "jsinferinlines.h"
#include "vm/Interpreter-inl.h"
#include "vm/String-inl.h"
#include "vm/StringObject-inl.h"
#include "vm/TypeInference-inl.h"
using namespace js;
using namespace js::gc;

View File

@ -209,7 +209,6 @@ UNIFIED_SOURCES += [
'jsfriendapi.cpp',
'jsfun.cpp',
'jsgc.cpp',
'jsinfer.cpp',
'jsiter.cpp',
'jsnativestack.cpp',
'jsnum.cpp',
@ -273,6 +272,7 @@ UNIFIED_SOURCES += [
'vm/StructuredClone.cpp',
'vm/Symbol.cpp',
'vm/TypedArrayObject.cpp',
'vm/TypeInference.cpp',
'vm/UbiNode.cpp',
'vm/UnboxedObject.cpp',
'vm/Unicode.cpp',

View File

@ -20,7 +20,6 @@
#include "vm/WrapperObject.h"
#include "jsatominlines.h"
#include "jsinferinlines.h"
#include "jsobjinlines.h"
#include "vm/NativeObject-inl.h"

View File

@ -6,8 +6,6 @@
#include "vm/ArgumentsObject-inl.h"
#include "jsinfer.h"
#include "jit/JitFrames.h"
#include "vm/GlobalObject.h"
#include "vm/Stack.h"

View File

@ -45,8 +45,6 @@
#include "vm/WrapperObject.h"
#include "jsatominlines.h"
#include "jsinferinlines.h"
#include "jsobjinlines.h"
#include "vm/NativeObject-inl.h"
#include "vm/Shape-inl.h"

View File

@ -11,7 +11,7 @@
#include "vm/String.h"
#include "jsinferinlines.h"
#include "vm/TypeInference-inl.h"
namespace js {

View File

@ -11,7 +11,6 @@
#include "jscntxt.h"
#include "jscompartment.h"
#include "jshashutil.h"
#include "jsinfer.h"
#include "jsnum.h"
#include "jsobj.h"
#include "jswrapper.h"
@ -30,7 +29,6 @@
#include "vm/WrapperObject.h"
#include "jsgcinlines.h"
#include "jsinferinlines.h"
#include "jsobjinlines.h"
#include "jsopcodeinlines.h"
#include "jsscriptinlines.h"

View File

@ -10,7 +10,6 @@
#include "vm/Interpreter.h"
#include "jscompartment.h"
#include "jsinfer.h"
#include "jsnum.h"
#include "jsstr.h"
@ -18,7 +17,6 @@
#include "vm/ArgumentsObject.h"
#include "jsatominlines.h"
#include "jsinferinlines.h"
#include "jsobjinlines.h"
#include "vm/ScopeObject-inl.h"

View File

@ -43,7 +43,6 @@
#include "jsatominlines.h"
#include "jsboolinlines.h"
#include "jsfuninlines.h"
#include "jsinferinlines.h"
#include "jsscriptinlines.h"
#include "jit/JitFrames-inl.h"

View File

@ -13,7 +13,6 @@
#include <stdint.h>
#include "jsfriendapi.h"
#include "jsinfer.h"
#include "jsobj.h"
#include "NamespaceImports.h"
@ -23,6 +22,7 @@
#include "js/Value.h"
#include "vm/Shape.h"
#include "vm/String.h"
#include "vm/TypeInference.h"
namespace js {

View File

@ -15,7 +15,6 @@
#include "vm/UnboxedObject.h"
#include "jsgcinlines.h"
#include "jsinferinlines.h"
#include "jsobjinlines.h"
using namespace js;

View File

@ -9,10 +9,10 @@
#include "jsbytecode.h"
#include "jsfriendapi.h"
#include "jsinfer.h"
#include "ds/IdValuePair.h"
#include "gc/Barrier.h"
#include "vm/TypeInference.h"
namespace js {

View File

@ -8,7 +8,6 @@
#include "jscompartment.h"
#include "jsgcinlines.h"
#include "jsinferinlines.h"
#include "jsobjinlines.h"
using namespace js;

View File

@ -9,7 +9,7 @@
#include "vm/ScopeObject.h"
#include "jsinferinlines.h"
#include "vm/TypeInference-inl.h"
namespace js {

View File

@ -40,7 +40,6 @@
#include "vm/WrapperObject.h"
#include "jsatominlines.h"
#include "jsinferinlines.h"
#include "jsobjinlines.h"
#include "vm/Shape-inl.h"

View File

@ -6,10 +6,10 @@
/* Inline members for javascript type inference. */
#ifndef jsinferinlines_h
#define jsinferinlines_h
#ifndef vm_TypeInference_inl_h
#define vm_TypeInference_inl_h
#include "jsinfer.h"
#include "vm/TypeInference.h"
#include "mozilla/PodOperations.h"
@ -1142,4 +1142,4 @@ JSScript::ensureHasTypes(JSContext *cx)
return types() || makeTypes(cx);
}
#endif /* jsinferinlines_h */
#endif /* vm_TypeInference_inl_h */

View File

@ -4,7 +4,7 @@
* 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 "jsinferinlines.h"
#include "vm/TypeInference-inl.h"
#include "mozilla/DebugOnly.h"
#include "mozilla/MemoryReporting.h"
@ -34,7 +34,6 @@
#include "jsatominlines.h"
#include "jsgcinlines.h"
#include "jsobjinlines.h"
#include "jsscriptinlines.h"
#include "vm/NativeObject-inl.h"

View File

@ -6,8 +6,8 @@
/* Definitions related to javascript type inference. */
#ifndef jsinfer_h
#define jsinfer_h
#ifndef vm_TypeInference_h
#define vm_TypeInference_h
#include "mozilla/MemoryReporting.h"
@ -421,8 +421,8 @@ class TypeSet
/*
* Iterate through the objects in this set. getObjectCount overapproximates
* in the hash case (see SET_ARRAY_SIZE in jsinferinlines.h), and getObject
* may return nullptr.
* in the hash case (see SET_ARRAY_SIZE in TypeInference-inl.h), and
* getObject may return nullptr.
*/
inline unsigned getObjectCount() const;
inline ObjectKey *getObject(unsigned i) const;
@ -1232,4 +1232,4 @@ template<> struct Concrete<js::ObjectGroup> : TracerConcrete<js::ObjectGroup> {
}
}
#endif /* jsinfer_h */
#endif /* vm_TypeInference_h */

View File

@ -39,8 +39,6 @@
#include "vm/WrapperObject.h"
#include "jsatominlines.h"
#include "jsinferinlines.h"
#include "jsobjinlines.h"
#include "vm/NativeObject-inl.h"
#include "vm/Shape-inl.h"

View File

@ -12,7 +12,6 @@
#include "mozilla/UniquePtr.h"
#include "jscntxt.h"
#include "jsinfer.h"
#include "jsobj.h"
#include "jsscript.h"
#include "jsstr.h"

View File

@ -6,7 +6,6 @@
#include "vm/UnboxedObject.h"
#include "jsinferinlines.h"
#include "jsobjinlines.h"
#include "vm/Shape-inl.h"

View File

@ -8,9 +8,10 @@
#define vm_UnboxedObject_h
#include "jsgc.h"
#include "jsinfer.h"
#include "jsobj.h"
#include "vm/TypeInference.h"
namespace js {
// Memory required for an unboxed value of a given type. Returns zero for types