Closed
Bug 1207236
Opened 9 years ago
Closed 9 years ago
ARM64: Build errors with --enable-simulator=arm64
Categories
(Core :: JavaScript Engine: JIT, defect)
Tracking
()
RESOLVED
FIXED
mozilla44
Tracking | Status | |
---|---|---|
firefox44 | --- | fixed |
People
(Reporter: victorcarlquist, Unassigned)
References
Details
Attachments
(1 file, 2 obsolete files)
1.56 KB,
patch
|
victorcarlquist
:
review+
|
Details | Diff | Splinter Review |
Hi guys, I'm getting the following errors with --enable-simulator=arm64: In file included from /home/victor/Documentos/firefox/SpiderMonkey/js/src/_DBG_OBJ/js/src/Unified_cpp_js_src13.cpp:2:0: /home/victor/Documentos/firefox/SpiderMonkey/js/src/vm/TaggedProto.cpp:8:1: error: ‘js’ has not been declared js::InternalGCMethods<TaggedProto>::preBarrier(TaggedProto& proto) ^ /home/victor/Documentos/firefox/SpiderMonkey/js/src/vm/TaggedProto.cpp:8:22: error: expected initializer before ‘<’ token js::InternalGCMethods<TaggedProto>::preBarrier(TaggedProto& proto) ^ /home/victor/Documentos/firefox/SpiderMonkey/js/src/vm/TaggedProto.cpp:14:1: error: ‘js’ has not been declared js::InternalGCMethods<TaggedProto>::postBarrier(TaggedProto* vp, TaggedProto prev, TaggedProto next) ^ /home/victor/Documentos/firefox/SpiderMonkey/js/src/vm/TaggedProto.cpp:14:22: error: expected initializer before ‘<’ token js::InternalGCMethods<TaggedProto>::postBarrier(TaggedProto* vp, TaggedProto prev, TaggedProto next) ^ make[3]: ** [Unified_cpp_js_src13.o] Erro 1
Reporter | ||
Comment 1•9 years ago
|
||
Attachment #8664337 -
Flags: review?(hv1989)
Comment 2•9 years ago
|
||
Comment on attachment 8664337 [details] [diff] [review] Patch Review of attachment 8664337 [details] [diff] [review]: ----------------------------------------------------------------- Thanks! ::: js/src/vm/TaggedProto.cpp @@ +5,5 @@ > * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ > > +#include "TaggedProto.h" > + > +using namespace js; can you do: namespace js { @@ +20,5 @@ > 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
Attachment #8664337 -
Flags: review?(hv1989) → review+
Reporter | ||
Comment 3•9 years ago
|
||
Attachment #8664337 -
Attachment is obsolete: true
Attachment #8664465 -
Flags: review+
Reporter | ||
Comment 4•9 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=5299f425b61c
Reporter | ||
Comment 5•9 years ago
|
||
The try is red because I forgot to add the "vm/" in the #include. https://treeherder.mozilla.org/#/jobs?repo=try&revision=48a8cbc7dd72
Attachment #8664465 -
Attachment is obsolete: true
Attachment #8664492 -
Flags: review+
Reporter | ||
Comment 6•9 years ago
|
||
Try is green (comment 5)! Thanks for your review Hannes.
Keywords: checkin-needed
https://hg.mozilla.org/mozilla-central/rev/9048d24f6fd0
Status: UNCONFIRMED → RESOLVED
Closed: 9 years ago
status-firefox44:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla44
You need to log in
before you can comment on or make changes to this bug.
Description
•