mraleph / irhydra

Tool for displaying IR used by V8 and Dart VM optimizing compilers
Apache License 2.0
433 stars 32 forks source link

enabling turbofan doesn't output hydrogen.cfg #52

Closed tusharmath closed 7 years ago

tusharmath commented 7 years ago

Hi @mraleph following your directions as explained here — http://mrale.ph/irhydra/2/# I am facing this issue. Setup

Node: v7.0.0
V8:   5.4.500.36
----------------

Command

node \
--turbo
--trace-hydrogen \
--trace-phase=Z \
--trace-deopt \
--code-comments \
--hydrogen-track-positions \
--redirect-code-traces \
--redirect-code-traces-to=code.asm \
profile.js

Expected Creates hydrogen.cfg and code.asm files

Actual only code.asm file is created.

mraleph commented 7 years ago

IRHydra does not support TurboFan (it uses an entirely different IR form).

You can use turbolizer to view TF IR. (Though I don't think it supports deoptimization matching similar to IRHydra).

There are currently no plans to support TurboFan in IRHydra.

tusharmath commented 7 years ago

thanks!