[v8-users] Re: View assembly code for built in functions

2017-09-18 Thread Rong Jie
You need to build V8 with v8_enable_disassembler enabled (disabled by default in release build). See https://cs.chromium.org/chromium/src/v8/BUILD.gn?type=cs&q=v8_enable_disassembler On Monday, September 18, 2017 at 5:23:09 PM UTC+8, Marija wrote: > > Hi, > > Is it possible to see generated asse

[v8-users] Re: Is there a way to generate Visual Studio solution for V8

2017-05-13 Thread Rong Jie
Yes you can. Just replace this line tools/dev/v8gen.py x64.release to gn gen out.gn/x64.release --args="is_debug=false get_cpu=""x64""" --ide=vs Note: tools/dev/v8gen.py is actually just a python wrapper script to call gn. -- -- v8-users mailing list v8-users@googlegroups.com http://group

[v8-users] Re: Building V8 on windows

2017-04-24 Thread Rong Jie
You should set DEPOT_TOOLS_WIN_TOOLCHAIN=0 before running gn and ninja so that goma is not used (only available for Googler) -- -- 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 Grou

[v8-users] Re: Why for loop will become faster if divided in two loop?

2017-04-12 Thread Rong Jie
I think this might be due to loop fission optimization (https://en.wikipedia.org/wiki/Loop_fission), even GCC (C++ compiler) sometimes does that when appropriate. -- -- v8-users mailing list v8-users@googlegroups.com http://groups.google.com/group/v8-users --- You received this message becaus

[v8-users] Make a Github wiki on how to use d8

2016-11-11 Thread Loo Rong Jie
I understand that the primary purposes of d8 are merely testing and debugging, but the built-in I/O functions are actually enough to serve some educational purposes. For example, Codeforces (online competitive programming website) uses (outdated version of) d8 to judge JavsScript solution. In