Bug 1620495 - Fix up header include references to LazyScript r=mgaudet
authorTed Campbell <tcampbell@mozilla.com>
Mon, 16 Mar 2020 19:43:15 +0000
changeset 519045 3119be3dcf975bf0698363766930789d2e339c24
parent 519044 40d56eb71cdd804a90b6253d4b7a98bae1ac4d6d
child 519046 ac02488efbcc76d07b10411b117150ddcc63b7ef
push id110273
push usertcampbell@mozilla.com
push dateMon, 16 Mar 2020 20:09:27 +0000
treeherderautoland@cc99b4449f14 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmgaudet
bugs1620495
milestone76.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1620495 - Fix up header include references to LazyScript r=mgaudet Differential Revision: https://phabricator.services.mozilla.com/D66875
js/src/debugger/Script-inl.h
js/src/debugger/Script.cpp
js/src/frontend/BytecodeCompilation.h
--- a/js/src/debugger/Script-inl.h
+++ b/js/src/debugger/Script-inl.h
@@ -12,17 +12,17 @@
 #include "mozilla/Assertions.h"  // for AssertionConditionType, MOZ_ASSERT
 #include "mozilla/Variant.h"     // for AsVariant
 
 #include <utility>  // for move
 
 #include "jstypes.h"            // for JS_PUBLIC_API
 #include "debugger/Debugger.h"  // for DebuggerScriptReferent
 #include "gc/Cell.h"            // for Cell
-#include "vm/JSScript.h"        // for BaseScript, JSScript, LazyScript
+#include "vm/JSScript.h"        // for BaseScript, JSScript
 #include "vm/NativeObject.h"    // for NativeObject
 #include "wasm/WasmJS.h"        // for WasmInstanceObject
 
 class JS_PUBLIC_API JSObject;
 
 js::gc::Cell* js::DebuggerScript::getReferentCell() const {
   return static_cast<gc::Cell*>(getPrivate());
 }
--- a/js/src/debugger/Script.cpp
+++ b/js/src/debugger/Script.cpp
@@ -43,17 +43,16 @@
 #include "vm/StringType.h"        // for NameToId, PropertyName, JSAtom
 #include "wasm/WasmDebug.h"       // for ExprLoc, DebugState
 #include "wasm/WasmInstance.h"    // for Instance
 #include "wasm/WasmTypes.h"       // for Bytes
 
 #include "vm/BytecodeUtil-inl.h"      // for BytecodeRangeWithPosition
 #include "vm/JSAtom-inl.h"            // for ValueToId
 #include "vm/JSObject-inl.h"          // for NewBuiltinClassInstance
-#include "vm/JSScript-inl.h"          // for LazyScript::functionDelazifying
 #include "vm/ObjectOperations-inl.h"  // for GetProperty
 #include "vm/Realm-inl.h"             // for AutoRealm::AutoRealm
 
 using namespace js;
 
 using mozilla::Maybe;
 using mozilla::Some;
 
--- a/js/src/frontend/BytecodeCompilation.h
+++ b/js/src/frontend/BytecodeCompilation.h
@@ -18,17 +18,17 @@
 #include "jstypes.h"  // JS_PUBLIC_API
 
 #include "frontend/CompilationInfo.h"
 #include "frontend/ParseContext.h"  // js::frontend::UsedNameTracker
 #include "frontend/SharedContext.h"  // js::frontend::Directives, js::frontend::{,Eval,Global}SharedContext
 #include "js/CompileOptions.h"  // JS::ReadOnlyCompileOptions
 #include "js/RootingAPI.h"      // JS::{,Mutable}Handle, JS::Rooted
 #include "js/SourceText.h"      // JS::SourceText
-#include "vm/JSScript.h"  // js::{FunctionAsync,Generator}Kind, js::LazyScript, JSScript, js::ScriptSource, js::ScriptSourceObject
+#include "vm/JSScript.h"  // js::{FunctionAsync,Generator}Kind, js::BaseScript, JSScript, js::ScriptSource, js::ScriptSourceObject
 #include "vm/Scope.h"     // js::ScopeKind
 
 class JS_PUBLIC_API JSFunction;
 class JS_PUBLIC_API JSObject;
 
 namespace js {
 
 namespace frontend {