I compiled v8 with the disassembler option:
tools/dev/v8gen.py x64.debug -- v8_enable_disassembler=true v8_enable_object_print=true
ninja -C out.gn/x64.debug
However, when I attempt to print out the disassembly, d8 does not output anything (no error messages either):
./d8 --print-code test.js
test.js contains the following:
function add(a, b){
return a + b;
}