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

2017-09-18 Thread Jakob Kummerow
ArrayPush is implemented in C++, see src/builtins/builtins-array.cc. The code object you've disassembled is a small wrapper/trampoline stub, the first step in the C++ entry sequence. In general, there is no single way to inspect "built-in functions", because there are several ways to implement

[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=v8_enable_disassembler On Monday, September 18, 2017 at 5:23:09 PM UTC+8, Marija wrote: > > Hi, > > Is it possible to see generated