[v8-users] ObjectTemplate Oddities

2017-08-08 Thread dark . 0x5a
*Here is sample:* auto isolate = v8::Isolate::GetCurrent(); Local global = ObjectTemplate::New(isolate); global->Set(v8_str(isolate, "i"), Number::New(isolate, *4*)); Local context = Context::New(isolate, nullptr, global); Context::Scope context_scope(context); auto i = context->Global()->Get(

[v8-users] Re: ObjectTemplate Oddities

2017-08-08 Thread dark . 0x5a
вторник, 8 августа 2017 г., 12:51:40 UTC+3 пользователь dark...@gmail.com написал: > > *Here is sample:* > > auto isolate = v8::Isolate::GetCurrent(); > > Local global = ObjectTemplate::New(isolate); > > global->Set(v8_str(isolate, "i"), Number::New(isolate, *4*)); > > Local context = Context::N

[v8-users] Re: ObjectTemplate Oddities

2017-08-08 Thread dark . 0x5a
Inside JS code i variable also has the value nan. -- -- v8-users mailing list v8-users@googlegroups.com 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 emai

Re: [v8-users] ObjectTemplate Oddities

2017-08-08 Thread Ben Noordhuis
On Tue, Aug 8, 2017 at 11:51 AM, wrote: > Here is sample: > > auto isolate = v8::Isolate::GetCurrent(); > > Local global = ObjectTemplate::New(isolate); > > global->Set(v8_str(isolate, "i"), Number::New(isolate, 4)); > > Local context = Context::New(isolate, nullptr, global); > Context::Scope con

Re: [v8-users] Error graph-builder-tester.h:172:56: error: no matching function for call to 'v8::internal::compiler::SimplifiedOperatorBuilder::ChangeFloat64ToTagged()' when trying to build V8 with GC

2017-08-08 Thread Jakob Kummerow
On Sun, Aug 6, 2017 at 3:17 AM, Georgi Sotirov wrote: > GCC 4.8 is what ships in Ubuntu Trusty, which is still our main >> development platform. Usually ensuring that older toolchains are still >> supported is more difficult (and hence more important) than supporting >> newer toolchains. >> Most