[PATCH] Expose custom MC-JIT memory allocation through the C API

Sean Silva silvas at purdue.edu
Thu May 16 10:42:16 PDT 2013


Is basing the JSC fourth tier on LLVM something that you guys have
committed to, or mainly exploratory? You seem to describe it as a "study"
on <https://bugs.webkit.org/show_bug.cgi?id=112840>.

The reason I ask is because we generally add things to the C API on a
strictly as-needed basis. So unless you guys have committed to using LLVM
for the fourth tier, it probably doesn't make sense to add this
functionality to the C API yet. Regardless, this patch probably won't make
it into a release until 3.4 (which is going to be months from now, as we
are currently in the process of releasing 3.3), so for the purposes of
using this for current development, you will need to use a custom-built
LLVM anyway, and you can easily add this patch on top in the meantime.

TBH I'm surprised we don't already support this functionality (i.e., that
somebody hasn't needed it; it seems like a common need), but unless you are
committed to shipping a real product with it I think it would be best to
avoid the scenario where this is added to the C API, and then if it turns
out that LLVM doesn't suit your needs, to end up with an unused feature in
the C API.

-- Sean Silva
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130516/0b73d37d/attachment.html>


More information about the llvm-commits mailing list