What is about InstallExtraNatives? On Thursday, May 26, 2016 at 1:29:18 PM UTC+6, Ben Noordhuis wrote: > > On Thu, May 26, 2016 at 9:03 AM, <[email protected] <javascript:>> > wrote: > > Hi all. > > > > I see that that v8 install some codes during the genesis process: > > > > InitializeNormalizedMapCaches(); > > > > if (!InstallNatives(context_type)) return; > > > > MakeFunctionInstancePrototypeWritable(); > > > > if (context_type != THIN_CONTEXT) { > > if (!InstallExtraNatives()) return; > > if (!ConfigureGlobalObjects(global_proxy_template)) return; > > } > > > > Can I disable this behavior via some d8/v8 flags? > > InstallNatives() constructs the part of the runtime that is written in > JavaScript. You can't disable it, you wouldn't end up with a working > VM. > > If by genesis, you mean the snapshotting step, you can disable that by > passing -Dv8_use_snapshot=false to GYP (`make snapshot=off` if you're > using the Makefile.) >
-- -- v8-dev mailing list [email protected] http://groups.google.com/group/v8-dev --- You received this message because you are subscribed to the Google Groups "v8-dev" 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/d/optout.
