Unfortunately, there is no way to do that currently. And it seems that exposing platform dependency to the embedder is a bad idea.
Yang On Saturday, January 26, 2013 1:41:54 AM UTC+1, Trevor Norris wrote: > > I was just perusing the v8 source and I ran across its ability to inline > native calls. For example, Math.random() basically follows the following > execution chain: > > Math.random() - math.js > RandomHeapNumber - runtime.h > HGraphBuilder::GenerateRandomHeapNumber - hydrogen.cc > > Interested, I kept looking around and realized that Math.random is > basically a set of assembly instructions located in places like > src/x64/full-codegen.cc. > > What I'm wondering is if it's possible to emulate the same behavior from > an embedded application? > -- -- v8-users mailing list [email protected] http://groups.google.com/group/v8-users --- You received this message because you are subscribed to the Google Groups "v8-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
