Bug 1342170 - Fixes NativeObject::create inlines for js/src/vm/ files. r=jandem
authorYury Delendik <ydelendik@mozilla.com>
Thu, 23 Feb 2017 14:08:38 -0600
changeset 489448 974fa9a5049d22b70c025df927811f227da40c5d
parent 489447 405f930ae1b7a6b1294ca7bcb6587e053afaf4d9
child 489449 556b6ba1f8173039b77b05708938ef4c6c50d4c7
push id46822
push userbmo:emilio+bugs@crisal.io
push dateFri, 24 Feb 2017 20:50:08 +0000
reviewersjandem
bugs1342170
milestone54.0a1
Bug 1342170 - Fixes NativeObject::create inlines for js/src/vm/ files. r=jandem MozReview-Commit-ID: D7qycfMcIPB
js/src/vm/ArgumentsObject.cpp
js/src/vm/EnvironmentObject.cpp
--- a/js/src/vm/ArgumentsObject.cpp
+++ b/js/src/vm/ArgumentsObject.cpp
@@ -11,16 +11,17 @@
 #include "jit/JitFrames.h"
 #include "vm/AsyncFunction.h"
 #include "vm/GlobalObject.h"
 #include "vm/Stack.h"
 
 #include "jsobjinlines.h"
 
 #include "gc/Nursery-inl.h"
+#include "vm/NativeObject-inl.h"
 #include "vm/Stack-inl.h"
 
 using namespace js;
 using namespace js::gc;
 
 /* static */ size_t
 RareArgumentsData::bytesRequired(size_t numActuals)
 {
--- a/js/src/vm/EnvironmentObject.cpp
+++ b/js/src/vm/EnvironmentObject.cpp
@@ -23,16 +23,17 @@
 #include "vm/Shape.h"
 #include "vm/Xdr.h"
 #include "wasm/WasmInstance.h"
 
 #include "jsatominlines.h"
 #include "jsobjinlines.h"
 #include "jsscriptinlines.h"
 
+#include "vm/NativeObject-inl.h"
 #include "vm/Stack-inl.h"
 
 using namespace js;
 using namespace js::gc;
 
 using mozilla::PodZero;
 using mozilla::Maybe;
 using mozilla::Some;