irhydra
irhydra copied to clipboard
Tool for displaying IR used by V8 and Dart VM optimizing compilers
being able to load the hydrogen.cfg, code.asm files from a local server (that has cors support) would be a great addition. maybe something like http://mrale.ph/irhydra/2/#http://localhost:8080/hydrogen.cfg,http://localhost:8080/code.asm
It would be amazing to deep link directly into specific views for artifact files loaded from the web (e.g. in gists). Method name, view pane, and even line number (with...
When viewing the source spliced into the IR, it's not really clear what some of the symbols mean, especially the dark red bar and yellow chevrons as shown below: ...
As a result unescaping code https://github.com/mraleph/irhydra/blob/13a2cd5fe550941e9e0b7ad6f38db99e8e66ca27/lib/src/modes/v8/code_parser.dart#L119-L129 no longer works. It is not obvious to me how to fix this because I don't see a backwards compatible way to detect whether...
Reported by @rsturgell - The font is large and the left panel cannot be resized which makes it very hard to navigate long method names (for example with deep namespaces)...
In dart2js we don't necessarily compile a method from end-to-end all at one time. IR Hydra shows distinct passes as as separate methods. I guess sorting them by reopt puts...
Right now we simply remove \r, but instead we can replace it with ' ' to ensure that source positions still match.
Examples: 208: StoreIndexed(v21, v5, v15) T{null, dynamic, Type: class 'dynamic'} 258: v80