mraleph / irhydra

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

irhydra2 doesn't open dart2js cfg files. #17

Open floitsch opened 10 years ago

floitsch commented 10 years ago

IrHydra1 opens dart2js cfg files, but IrHydra2 doesn't anymore.

Produce cfg files by modifying dart2js source: sdk/lib/_internal/compiler/implementation/ssa/tracer.dart Change GENERATE_SSA_TRACE to true Optionally change SSA_TRACE_FILTER to name (like "main").

mraleph commented 10 years ago

IRHydra2 expects method field of the compilation to contain the optimization id:

https://github.com/mraleph/irhydra/blob/master/lib/src/modes/v8/hydrogen_parser.dart#L35