tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

BadIncludesOrder-inl.h (669B)


      1 // Note: Each #if scope gets checked separately.
      2 
      3 // These are in reverse order!
      4 #if A
      5 #  include "vm/JSScript-inl.h"
      6 #  include "vm/Interpreter-inl.h"
      7 #  include "js/Value.h"
      8 #  include "ds/LifoAlloc.h"
      9 #  include "jsapi.h"
     10 #  include <stdio.h>
     11 #  include "mozilla/HashFunctions.h"
     12 #endif
     13 
     14 // These are in reverse order, but it's ok due to the #if scopes.
     15 #if B
     16 #  include "vm/Interpreter-inl.h"
     17 #  if C
     18 #    include "js/Value.h"
     19 #    if D
     20 #      include "jsapi.h"
     21 #    endif
     22 #    include <stdio.h>
     23 #  endif
     24 #  include "mozilla/HashFunctions.h"
     25 #endif
     26 
     27 #include "jstypes.h"
     28 #include "vm/JSScript.h"  // out of order
     29 #include "vm/JSFunction.h"
     30 #include "vm/JSObject.h"