Bug 1273451 - Fix some unified build errors r=bbouvier
authorJon Coppeard <jcoppeard@mozilla.com>
Tue, 17 May 2016 16:12:47 +0100
changeset 336668 eb3d8b439394a783362c1d337bf2863bd86b9e97
parent 336667 04f2534e0260ab7c6f6f0ebd3354444bc714f2a5
child 336669 9f9aae87248d444ff93d1a213b6de0a6ee39fb26
push id6249
push userjlund@mozilla.com
push dateMon, 01 Aug 2016 13:59:36 +0000
treeherdermozilla-beta@bad9d4f5bf7e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbbouvier
bugs1273451
milestone49.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 1273451 - Fix some unified build errors r=bbouvier
js/src/asmjs/WasmBinaryToAST.cpp
js/src/asmjs/WasmSignalHandlers.h
js/src/builtin/TypedObject.cpp
js/src/frontend/NameFunctions.h
js/src/jit/CacheIR.h
js/src/jit/EagerSimdUnbox.h
--- a/js/src/asmjs/WasmBinaryToAST.cpp
+++ b/js/src/asmjs/WasmBinaryToAST.cpp
@@ -13,24 +13,26 @@
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
 
 #include "asmjs/WasmBinaryToAST.h"
 
+#include "mozilla/CheckedInt.h"
 #include "mozilla/MathAlgorithms.h"
 
 #include "asmjs/Wasm.h"
 #include "asmjs/WasmBinaryIterator.h"
 
 using namespace js;
 using namespace js::wasm;
 
+using mozilla::CheckedInt;
 using mozilla::FloorLog2;
 
 enum AstDecodeTerminationKind
 {
     Unknown,
     End,
     Else
 };
--- a/js/src/asmjs/WasmSignalHandlers.h
+++ b/js/src/asmjs/WasmSignalHandlers.h
@@ -14,16 +14,18 @@
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
 
 #ifndef wasm_signal_handlers_h
 #define wasm_signal_handlers_h
 
+#include "mozilla/Attributes.h"
+
 #if defined(XP_DARWIN) && defined(ASMJS_MAY_USE_SIGNAL_HANDLERS)
 # include <mach/mach.h>
 # include "jslock.h"
 #endif
 
 struct JSRuntime;
 
 namespace js {
--- a/js/src/builtin/TypedObject.cpp
+++ b/js/src/builtin/TypedObject.cpp
@@ -19,16 +19,17 @@
 #include "vm/GlobalObject.h"
 #include "vm/String.h"
 #include "vm/StringBuffer.h"
 #include "vm/TypedArrayObject.h"
 
 #include "jsatominlines.h"
 #include "jsobjinlines.h"
 
+#include "gc/StoreBuffer-inl.h"
 #include "vm/NativeObject-inl.h"
 #include "vm/Shape-inl.h"
 
 using mozilla::AssertedCast;
 using mozilla::CheckedInt32;
 using mozilla::DebugOnly;
 using mozilla::PodCopy;
 
--- a/js/src/frontend/NameFunctions.h
+++ b/js/src/frontend/NameFunctions.h
@@ -2,16 +2,18 @@
  * vim: set ts=8 sts=4 et sw=4 tw=99:
  * This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 #ifndef frontend_NameFunctions_h
 #define frontend_NameFunctions_h
 
+#include "mozilla/Attributes.h"
+
 #include "js/TypeDecls.h"
 
 namespace js {
 
 class ExclusiveContext;
 
 namespace frontend {
 
--- a/js/src/jit/CacheIR.h
+++ b/js/src/jit/CacheIR.h
@@ -8,16 +8,17 @@
 #define jit_CacheIR_h
 
 #include "mozilla/Maybe.h"
 
 #include "NamespaceImports.h"
 
 #include "gc/Rooting.h"
 #include "jit/CompactBuffer.h"
+#include "jit/SharedIC.h"
 
 namespace js {
 namespace jit {
 
 // CacheIR is an (extremely simple) linear IR language for inline caches.
 // From this IR, we can generate machine code for Baseline or Ion IC stubs.
 //
 // IRWriter
--- a/js/src/jit/EagerSimdUnbox.h
+++ b/js/src/jit/EagerSimdUnbox.h
@@ -3,16 +3,18 @@
  * This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 // This file declares eager SIMD unboxing.
 #ifndef jit_EagerSimdUnbox_h
 #define jit_EagerSimdUnbox_h
 
+#include "mozilla/Attributes.h"
+
 namespace js {
 namespace jit {
 
 class MIRGenerator;
 class MIRGraph;
 
 MOZ_MUST_USE bool
 EagerSimdUnbox(MIRGenerator* mir, MIRGraph& graph);