I don't know.  One, but not the most elegant approach, would be to
check if property "gc" is present on global object.

yours,
anton.

On Wed, Dec 15, 2010 at 8:54 PM, Stephan Beal <[email protected]> wrote:
> On Wed, Dec 15, 2010 at 5:46 PM, Anton Muhin <[email protected]> wrote:
>>
>> To enable it you should just pass --expose-gc flag.
>
> Is there a way to determine, from client code, at runtime, whether that
> option is enabled/available?
> --
> ----- stephan beal
> http://wanderinghorse.net/home/stephan/
>
> --
> 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

Reply via email to