On Wed, May 23, 2012 at 7:12 PM, Michael Schwartz <[email protected]> wrote:
> Awesome, and thanks. > > The SetFlagsFromString() method is sufficient for my needs. > > This leads to another question... Is there a place i can find a list of > all the possible flags and their function? > http://code.google.com/searchframe#W9JxUuHYyMg/trunk/src/flag-definitions.h for some value of "their function". > > On May 23, 2012, at 8:44 AM, Ulan Degenbaev wrote: > > V8 API has the following functions that can be called from C/C++ program: > > /** > * Sets V8 flags from a string. > */ > static void SetFlagsFromString(const char* str, int length); > > /** > * Sets V8 flags from the command line. > */ > static void SetFlagsFromCommandLine(int* argc, > char** argv, > bool remove_flags); > > > On Wed, May 23, 2012 at 5:07 PM, Michael Schwartz <[email protected]>wrote: > >> Exactly. How is --harmony-proxies supposed to be passed to v8 from a >> C/C++ program? >> >> It would be nice if there was a build switch to just turn them on. >> >> On May 23, 2012, at 8:01 AM, Andreas Rossberg wrote: >> >> > On 23 May 2012 16:15, mschwartz <[email protected]> wrote: >> >> When I compile SilkJS and link with v8, I notice there is no global >> Proxy >> >> object (see Proxy API) created for me. >> >> >> >> Can someone in the know clue me in about enabling this feature when >> just >> >> compiling and using just v8 (e.g. not the whole browser)? >> > >> > I assume you are referring to Harmony proxies. You need to activate >> > them with the V8 flag --harmony-proxies. However, I've never used >> > SilkJS, so I don't know if you can just pass it the flag. >> > >> > /Andreas >> > >> > -- >> > v8-users mailing list >> > [email protected] >> > http://groups.google.com/group/v8-users >> >> -- >> v8-users mailing list >> [email protected] >> http://groups.google.com/group/v8-users >> > > > -- > v8-users mailing list > [email protected] > http://groups.google.com/group/v8-users > > > -- > v8-users mailing list > [email protected] > http://groups.google.com/group/v8-users > -- v8-users mailing list [email protected] http://groups.google.com/group/v8-users
