Bug 1491736 - Make sure JSFunction-inl.h #includes the definition of NativeObject::dynamicSlotsCount that it calls. r=jandem
authorJeff Walden <jwalden@mit.edu>
Sat, 15 Sep 2018 20:24:31 -0700
changeset 436741 47d60f29b7cf1fc42621d1f68af36aa1e4e6901c
parent 436740 740b790557b9b70298dee6093753c4d2552001cc
child 436742 3ef024a29617c4e33765d0d9350101798fcee390
push id34658
push userrgurzau@mozilla.com
push dateMon, 17 Sep 2018 16:46:41 +0000
treeherdermozilla-central@5ecae696c54f [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjandem
bugs1491736
milestone64.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 1491736 - Make sure JSFunction-inl.h #includes the definition of NativeObject::dynamicSlotsCount that it calls. r=jandem
js/src/vm/JSFunction-inl.h
--- a/js/src/vm/JSFunction-inl.h
+++ b/js/src/vm/JSFunction-inl.h
@@ -10,16 +10,17 @@
 #include "vm/JSFunction.h"
 
 #include "gc/Allocator.h"
 #include "gc/GCTrace.h"
 #include "js/CharacterEncoding.h"
 #include "vm/EnvironmentObject.h"
 
 #include "vm/JSObject-inl.h"
+#include "vm/NativeObject-inl.h"
 
 namespace js {
 
 inline const char*
 GetFunctionNameBytes(JSContext* cx, JSFunction* fun, UniqueChars* bytes)
 {
     if (JSAtom* name = fun->explicitName()) {
         *bytes = StringToNewUTF8CharsZ(cx, *name);