mraleph / irhydra

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

The demo file produces a de-opt match warning in all non-"Z_code generation" phases #9

Open mraleph opened 10 years ago

mraleph commented 10 years ago

Originally reported by @paulfryzel

What steps will reproduce the problem?

  1. On the homepage, load: demo file (v8 @ x64)
  2. Navigate to the foo method
  3. View any non-"Z_code generation" optimization phases

The user will be presented with the "Unable to match deopt to lithium..." warning.

For new users, it may be helpful to rework or reword this behavior.

A simple/quick fix might just be to make the red "deopts" marker on the left nav clickable and jump you to code generation (similar to how "deopt @32" works inside the code generation phase) or, make the "open Code Generation phase" within the warning clickable and jump you to that phase.

https://code.google.com/p/irhydra/issues/detail?id=32