How can I see the machine code generated by v8?

前端 未结 5 1734
北海茫月
北海茫月 2020-11-30 01:05

Does anybody know how I can see the actual machine code that v8 generates from Javascript? I\'ve gotten as far as Script::Compile() in src/api.cc b

5条回答
  •  刺人心
    刺人心 (楼主)
    2020-11-30 01:22

    Take a look at v8_root/build/features.gypi, and you will find disassembler related and many other compile time feature switches for V8.

提交回复
热议问题