Issue #2692 - Part 7: De-globalize {*}CompileOptions.

Make all users of the various *CompileOptions classes #include "js/CompileOptions.h"
so that nothing but that file has to know about these classes having a
JS_PUBLIC_API on them, that would have to be present in forward-declarations.
This commit is contained in:
Moonchild 2025-03-05 04:09:03 +01:00 committed by roytam1
commit 5fd304507d
27 changed files with 89 additions and 52 deletions

View file

@ -34,6 +34,8 @@ using mozilla::DebugOnly;
using mozilla::Unused;
using mozilla::TimeDuration;
using JS::CompileOptions;
using JS::ReadOnlyCompileOptions;
using JS::SourceBufferHolder;
namespace js {