These are "code comments". You'll need to enable both the GN arg v8_code_comments = true and the command-line flag --code-comments; since CSA is used only in mksnapshot you need to either:
- pass the latter flag to a manual invocation of mksnapshot,
- or enable it by default in flag-definitions.h and recompile normally,
- or, most conveniently, set the GN arg v8_enable_snapshot_code_comments = true (which implies the other GN arg and the command-line flag).
You can then see these comments when disassembling builtins (with the
jco GDB macro). You may also want to use
--nodebug-code to skip a large number of generated checks that tend to be confusing when reading code.
Code comments cannot be used for tracing control flow at runtime, they're only helpful for making sense of the disassembly of generated code. Control flow can be traced with the various Print(...) overloads in CSA, which will print to stdout.