I am hacking the Spidermonkey source code and have discovered that the jsinferinlines.h got a bunch of #include BEFORE the #ifndef include guard. Is that what you guys really want? By the way, jsinferinlines.h actually includes itself in a cyclic manner:
jsinferinlines.h-> vm/Stack-inl.h-> jsscriptinlines.h-> jsscopeinlines.h-> jsobjinlines.h-> jsinferinlines.h So having includes before the include guard sounds crazy to me. =====jsinferinlines.h (vers 24.2.0) /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- * vim: set ts=8 sts=4 et sw=4 tw=99: * This Source Code Form is subject to the terms of the Mozilla Public * 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/. */ /* Inline members for javascript type inference. */ #include "mozilla/PodOperations.h" #include "jsarray.h" #include "jsanalyze.h" #include "jscompartment.h" #include "jsinfer.h" #include "jsprf.h" #include "jsproxy.h" #include "jstypedarray.h" #include "builtin/ParallelArray.h" #include "jit/IonFrames.h" #include "js/RootingAPI.h" #include "vm/BooleanObject.h" #include "vm/GlobalObject.h" #include "vm/NumberObject.h" #include "vm/StringObject.h" #include "jsanalyzeinlines.h" #include "gc/Barrier-inl.h" #include "vm/Stack-inl.h" #ifndef jsinferinlines_h #define jsinferinlines_h //.....main header src #endif _______________________________________________ dev-tech-js-engine-internals mailing list [email protected] https://lists.mozilla.org/listinfo/dev-tech-js-engine-internals

