Re: [JS-internals] Adding third-party sources to ion build

2014-07-19 Thread Nicholas Nethercote
On Sat, Jul 19, 2014 at 6:06 PM, Byron Hawkins wrote: > Eventually I found that the build is specified by the moz.build file, so I > can build with my additional sources now. Correct. The moz.build files are the basis of a custom build system that has a number of improvements over Makefiles, but

Re: [JS-internals] Adding third-party sources to ion build

2014-07-19 Thread Byron Hawkins
Eventually I found that the build is specified by the moz.build file, so I can build with my additional sources now. It looks like I have permission to edit the wiki page for the SpiderMonkey build. If nobody objects, I'm going to add a small section on customizing the build, so people can more

[JS-internals] Adding third-party sources to ion build

2014-07-19 Thread Byron Hawkins
Hi, I'm working on a research project that involves adding a few third-party sources to the ion build (just for my own experiments, not as a contrib of any kind). It looks like the ion makefiles do no not specifically name the sources or directories, yet if I add a new "third_party" directory, i

[JS-internals] VM hints for machine-generated (at runtime) JS?

2014-07-19 Thread Katelyn Gadd
Hi, It seems increasingly common for libraries, compilers and runtimes targeting JS to end up generating new JS on the fly and passing it to the VM via | eval() | or | new Function() |. In some cases the resulting code replaces an existing function on an object prototype, or gets called a few time