think you,let me have a try On Aug 23, 4:21 pm, Yang Guo <[email protected]> wrote: > If you use the d8 shell in debug mode (d8_g), there are a few flags > tailored for your needs. Just print the help > ./d8_g --help | grep print > > You'll see that --print_code is probably the flag you are looking for. > But be warned that there maybe a lot of generated code that you need > to filter somehow, --print_code_verbose might help with that. > > On Aug 23, 9:35 am, chbing <[email protected]> wrote: > > > > > > > > > the help docs say: > > " > > For example, the JavaScript code to access property x from a Point > > object is: > > > point.x > > > In V8, the machine code generated for accessing x is: > > > # ebx = the point object > > cmp [ebx,<hidden class offset>],<cached hidden class> > > jne <inline cache miss> > > mov eax,[ebx, <cached x offset>] > > " > > > my question is: how can i get the machine code when compiled my js?
-- v8-users mailing list [email protected] http://groups.google.com/group/v8-users
