Re: [v8-users] V8 build failing

2019-09-25 Thread Mani
52, in sys.exit(main(sys.argv[1:])) File "/go/depot_tools/gclient.py", line 3138, in main return dispatcher.execute(OptionParser(), argv) File "/go/depot_tools/subcommand.py", line 252, in execute [0m [91mreturn command(parser, args[1:]) File "/go/depot_too

[v8-users] Crash cause?

2017-10-26 Thread Kavin Mani
Hi, I am fairly new to V8 and I am trying to build an application with V8. It results in a crash and I am not sure about the cause of it. ScavengePointer seems to look like Garbage Collection issue but I am not sure if that's the real cause. Can someone please help me out? Thanks in advance!

[v8-users] How do I load a .js file into my v8 C++ program?

2017-08-07 Thread Kavin Mani
I find that the given example program compiles and executes a simple Javascript program supplied as a string. However, I want to compile a .js file with multiple functions. How can I do this? -- -- v8-users mailing list v8-users@googlegroups.com http://groups.google.com/group/v8-users ---

Re: [v8-users] Partially executing a Javascript file in v8 c++ program

2017-08-04 Thread Kavin Mani
.size(); > std::vector<v8::Local> argv(argc); > // populate the argv somehow > function->Call(context, context->Global(), argc, argv.data()); > > On Fri, Aug 4, 2017 at 4:17 PM, Kavin Mani <kavin...@gmail.com > > wrote: > >> Hi, >> >> I am new to V8

[v8-users] Partially executing a Javascript file in v8 c++ program

2017-08-04 Thread Kavin Mani
Hi, I am new to V8 engine and starting to experiment things. I am wondering if it is possible to execute different functions from a Javascript file at different times. Consider the following scenario: I have a Javascript file with a global variable *foo *and two functions *func1() *and