Closed
Bug 911125
Opened 11 years ago
Closed 11 years ago
Remove ScriptAnalysis::printTypes and dump TypeScript's observed types instead
Categories
(Core :: JavaScript Engine, defect)
Core
JavaScript Engine
Tracking
()
RESOLVED
FIXED
mozilla26
People
(Reporter: jandem, Assigned: jandem)
References
Details
Attachments
(1 file, 1 obsolete file)
17.96 KB,
patch
|
bhackett1024
:
review+
|
Details | Diff | Splinter Review |
The bytecode types printed by INFERFLAGS=results are not very useful anymore since bug 804676, because in most cases we don't run analyzeTypes and hence don't print anything. Although we no longer store pushed/popped types for every opcode, we can still dump the observed typesets (stored in TypeScript) and usually that's all we have to know. I wrote a patch for this a while ago when I was looking into some JSIL perf problems.
Assignee | ||
Comment 1•11 years ago
|
||
Removes ScriptAnalysis::printTypes, adds TypeScript::printTypes and calls it instead. I also changed the inference spew to go to stderr, so that I could call JSString::dumpChars to dump the function name.
Attachment #797825 -
Flags: review?(bhackett1024)
Assignee | ||
Comment 2•11 years ago
|
||
Attachment #797825 -
Attachment is obsolete: true
Attachment #797825 -
Flags: review?(bhackett1024)
Attachment #797826 -
Flags: review?(bhackett1024)
Updated•11 years ago
|
Attachment #797826 -
Flags: review?(bhackett1024) → review+
Assignee | ||
Comment 4•11 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/8a46d34be094
Comment 5•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/8a46d34be094
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla26
You need to log in
before you can comment on or make changes to this bug.
Description
•