Mike, what exactly do you mean by Platform.h being or not being a public
header? Do you mean being installed to an include/ dir, or do you mean
getting included into jsapi.h? AFAICT it is neither at the moment, just
trying to see what you're getting at.

Landry, it's definitely a maze. Sorting it out proper would be a lot of
work so I definitely don't expect you to fix everything as part of this
patch. It seems important to make sure ENABLE_ASSEMBLER is consistent,
though, so combined with Mike's point about Platform.h not being public,
it seems that we shouldn't try to set ENABLE_ASSEMBLER, ENABLE_YARR_JIT
or ENABLE_JIT in the Makefile, and we shouldn't use them in public
header files.

One idea is to create a new thing that is set on the same conditions
when ENABLE_ASSEMBLER is set and put that in js-config.h. Then you could
use that in jscntxt.h without causing any problems. Then we could use
macros to check that the two are consistent on one of the other files,
like YarrJIT.cpp.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/908508

Title:
  Firefox/Thunderbird 10 FTBFS on powerpc in js/src/yarr/pcre

To manage notifications about this bug go to:
https://bugs.launchpad.net/firefox/+bug/908508/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to