For 1) I was trying to do something like this initially:
http://stackoverflow.com/questions/20643470/execute-a-command-line-binary-in-node-js
but it doesn't seem to work with v8 standalone. Might seem like a
trivial example, but would you be able to provide an example that
would work with v8 stand
Doing the first thing you suggest is really not at all related to dealing
with the optimizer. Just putting strings from JS into a C++ system exec
would not be very difficult.
Unless you want to do something to V8 itself, and are less concerned with
actually doing things from JavaScript, I sugge
Doing some more investigating, I am able to narrow down the scope of
my question:
In lithium.cc / fullcode-gen.c I see calls to MakeCodePrologue() and
MakeCodeEpilogue(). Since I am interested in adding to the prologue of
optimized code, I can focus on the lithium.cc part.
Both those call void Cod