Closed Bug 684941 Opened 13 years ago Closed 2 years ago

Type inference spew visualization tool

Categories

(Core :: JavaScript Engine, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: shu, Unassigned)

Details

Attachments

(1 file, 1 obsolete file)

A tool to visualize TI spew (i.e. INFERFLAGS=ops or INFERFLAGS=full) would be highly helpful for both engine and JS developers.

This prototype has two parts: a decompiler patch and an external tool.

The decompiler patch introduces a new INFERFLAGS flag, "annotated", which spews ops in addition to a decompiled source, annotated with HTML <span> elements surrounding any expression that has a typeset. This patch is attached below.

The external tool takes this spew and makes it into a shinier webpage. The external tool is currently hosted at https://github.com/syg/inferscraper
Attached patch Decompiler patch (obsolete) — Splinter Review
Diffed against JM, rev 74849:b99f3928f69c
Attached patch Decompiler patchSplinter Review
Rebased against 76591:445b1e86590c
Attachment #558539 - Attachment is obsolete: true
Renamed git repo to https://github.com/syg/inferscrape
Assignee: general → nobody

Closing since we no longer have TI (spew).

Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: