mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-08-19 02:43:07 +09:00
Issue #2692 - Part 6: Don't #include js/SourceBufferHolder.h in jsapi.h.
Instead, require users to do so. This is a minor translation-unit size improvement for anyone who never has to use SourceBufferHolder other than by reference.
This commit is contained in:
parent
40ed1b10f4
commit
2e4620b5af
28 changed files with 43 additions and 8 deletions
|
|
@ -10,6 +10,7 @@
|
|||
|
||||
#include "jsnativestack.h"
|
||||
#include "jsnum.h" // For FIX_FPU()
|
||||
#include "js/SourceBufferHolder.h"
|
||||
|
||||
#include "builtin/Promise.h"
|
||||
#include "frontend/BytecodeCompiler.h"
|
||||
|
|
@ -33,6 +34,8 @@ using mozilla::DebugOnly;
|
|||
using mozilla::Unused;
|
||||
using mozilla::TimeDuration;
|
||||
|
||||
using JS::SourceBufferHolder;
|
||||
|
||||
namespace js {
|
||||
|
||||
GlobalHelperThreadState* gHelperThreadState = nullptr;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue