Bug 1207236 - ARM64: Build errors with --enable-simulator=arm64. r=h4writer
authorVictor Carlquist <victorcarlquist@gmail.com>
Tue, 22 Sep 2015 18:29:13 -0300
changeset 263934 9048d24f6fd027b19e2757a7a5955151102acb8b
parent 263933 edf7e8ac4a7d0781402b27220ddf5a15249e4676
child 263935 345255320643d943c45f4358beaa0e5b46dfd204
push id65480
push usercbook@mozilla.com
push dateWed, 23 Sep 2015 07:22:32 +0000
treeherdermozilla-inbound@9048d24f6fd0 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersh4writer
bugs1207236
milestone44.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 1207236 - ARM64: Build errors with --enable-simulator=arm64. r=h4writer
js/src/vm/TaggedProto.cpp
--- a/js/src/vm/TaggedProto.cpp
+++ b/js/src/vm/TaggedProto.cpp
@@ -1,20 +1,26 @@
 /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
  * 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/. */
 
+#include "vm/TaggedProto.h"
+
+namespace js {
+
 /* static */ void
-js::InternalGCMethods<TaggedProto>::preBarrier(TaggedProto& proto)
+InternalGCMethods<TaggedProto>::preBarrier(TaggedProto& proto)
 {
     InternalGCMethods<JSObject*>::preBarrier(proto.toObjectOrNull());
 }
 
 /* static */ void
-js::InternalGCMethods<TaggedProto>::postBarrier(TaggedProto* vp, TaggedProto prev, TaggedProto next)
+InternalGCMethods<TaggedProto>::postBarrier(TaggedProto* vp, TaggedProto prev, TaggedProto next)
 {
     JSObject* prevObj = prev.isObject() ? prev.toObject() : nullptr;
     JSObject* nextObj = next.isObject() ? next.toObject() : nullptr;
     InternalGCMethods<JSObject*>::postBarrier(reinterpret_cast<JSObject**>(vp), prevObj,
                                               nextObj);
 }
+
+} // namespace js