Closed
Bug 546408
Opened 16 years ago
Closed 15 years ago
CodegenLIR code cleanup needed for improving verifier semantics
Categories
(Tamarin Graveyard :: Baseline JIT (CodegenLIR), defect, P2)
Tamarin Graveyard
Baseline JIT (CodegenLIR)
Tracking
(Not tracked)
VERIFIED
FIXED
flash10.1
People
(Reporter: edwsmith, Assigned: edwsmith)
References
Details
(Whiteboard: verifier-cleanup)
Attachments
(1 file, 8 obsolete files)
4.66 KB,
patch
|
rreitmai
:
review+
|
Details | Diff | Splinter Review |
tracker for cleanup patches needed for bug 413522 (upgrade verifier semantics)
Assignee | ||
Comment 1•16 years ago
|
||
Assignee: nobody → edwsmith
Attachment #427125 -
Flags: review?(stejohns)
Assignee | ||
Comment 2•16 years ago
|
||
Assignee | ||
Comment 3•16 years ago
|
||
Attachment #427125 -
Attachment is obsolete: true
Attachment #427127 -
Flags: review?(stejohns)
Attachment #427125 -
Flags: review?(stejohns)
Assignee | ||
Updated•16 years ago
|
Attachment #427127 -
Flags: review?(stejohns)
Assignee | ||
Comment 4•16 years ago
|
||
Attachment #427127 -
Attachment is obsolete: true
Comment 5•16 years ago
|
||
Comment on attachment 427126 [details] [diff] [review]
introduce haveDebugger flag, to encapsulate how we test for debugger presence. allows some ifdef removal.
Where does haveDebugger get set?
Assignee | ||
Comment 6•16 years ago
|
||
ah, the perils of extracting small patches from a larger one. This version initializes haveDebugger.
Attachment #427154 -
Flags: review?(stejohns)
Assignee | ||
Updated•16 years ago
|
Attachment #427126 -
Attachment is obsolete: true
Comment 7•16 years ago
|
||
Comment on attachment 427154 [details] [diff] [review]
(v2) introduce haveDebugger flag, to encapsulate how we test for debugger presence. allows some ifdef removal.
DEBUGGER_ONLY indentation a little wonky, might recheck before landing
Attachment #427154 -
Flags: review?(stejohns) → review+
Assignee | ||
Comment 8•16 years ago
|
||
ValidateWriter or Reader should filter illegal opcode usage, the deadvars optimizer isn't the place for it.
local variable vars is redundant and hides CodegenLIR::vars.
lirbuf is dead once vars is undeclared.
Assignee | ||
Comment 9•16 years ago
|
||
* factored verifier.showState() so we can use it to print state without printing an opcode along with it.
* combined & simplified CodegenLIR::formatOpcode
* fix typo in tagprof macro invocation in initprop_late(): s/ojb/obj/
* print final LIR instructions after deadvars() pass, instead of the input. (we could print both, but i've never needed to look at the input separate from the mixed verifier/lir output).
* test LC_Liveness before printing live analysis output.
* show merged at verifier block beginnings instead of before the merge, since the merge also explicitly prints the before states and after states.
* fix comments
Assignee | ||
Comment 10•16 years ago
|
||
Comment on attachment 427182 [details] [diff] [review]
verbose changes to help diagnose verify output, and cleanup
Looking for general feedback, this patch might grow before its ready to land.
Attachment #427182 -
Flags: review?(rreitmai)
Comment 11•15 years ago
|
||
Comment on attachment 427182 [details] [diff] [review]
verbose changes to help diagnose verify output, and cleanup
+'d but 2 changes seemed to be out of place for this patch:
(1) deadvars() call
(2) coder-> addition
Attachment #427182 -
Flags: review?(rreitmai) → review+
Flags: flashplayer-qrb+
Priority: -- → P2
Target Milestone: --- → flash10.1
Assignee | ||
Comment 12•15 years ago
|
||
Comment on attachment 427182 [details] [diff] [review]
verbose changes to help diagnose verify output, and cleanup
Updated patch to condense the verifier output, and moved to new bug 547240
Attachment #427182 -
Attachment is obsolete: true
Assignee | ||
Comment 13•15 years ago
|
||
Comment on attachment 427131 [details] [diff] [review]
Rename a few helpers for Number from 'q' -> 'f', properly name writeFixExceptionsAndLabels
The q->f renames are leftovers from nanojit supporting floats.
the rename of fixExceptionsAndLabels to writeFixExceptionsAndLabels was an oversight from when the CodeWriter interface was added. The implementation in CodegenLIR is an empty method, so the rename is benign.
Attachment #427131 -
Flags: review?(stejohns)
Assignee | ||
Comment 14•15 years ago
|
||
Comment on attachment 427154 [details] [diff] [review]
(v2) introduce haveDebugger flag, to encapsulate how we test for debugger presence. allows some ifdef removal.
pushed
http://hg.mozilla.org/tamarin-redux/rev/79aa1193fa95
Attachment #427154 -
Attachment is obsolete: true
Updated•15 years ago
|
Attachment #427131 -
Flags: review?(stejohns) → review+
Assignee | ||
Comment 15•15 years ago
|
||
Comment on attachment 427131 [details] [diff] [review]
Rename a few helpers for Number from 'q' -> 'f', properly name writeFixExceptionsAndLabels
pushed
http://hg.mozilla.org/tamarin-redux/rev/8cfb0efb95b3
Attachment #427131 -
Attachment is obsolete: true
Assignee | ||
Comment 16•15 years ago
|
||
Removing local variables that hide global ones with the same name.
Attachment #427163 -
Attachment is obsolete: true
Attachment #428707 -
Flags: review?(rreitmai)
Updated•15 years ago
|
Attachment #428707 -
Flags: review?(rreitmai) → review+
Assignee | ||
Comment 17•15 years ago
|
||
Comment on attachment 428707 [details] [diff] [review]
(v2) removing some not very useful code in deadvars() passes
pushed
http://hg.mozilla.org/tamarin-redux/rev/8801408fa933
Attachment #428707 -
Attachment is obsolete: true
Assignee | ||
Comment 18•15 years ago
|
||
Attachment #431157 -
Flags: review?(rreitmai)
Updated•15 years ago
|
Attachment #431157 -
Flags: review?(rreitmai) → review+
Assignee | ||
Comment 19•15 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Updated•15 years ago
|
QA Contact: nanojit → dschaffe
Updated•15 years ago
|
QA Contact: dschaffe → brbaker
Comment 20•15 years ago
|
||
Edwin are there specific testcases that should be written to verify this bug or is running the entire acceptance suite and ATS sufficient?
Flags: in-testsuite?
Assignee | ||
Comment 21•15 years ago
|
||
code cleanup only, no tests needed.
Updated•15 years ago
|
Status: RESOLVED → VERIFIED
Flags: in-testsuite? → in-testsuite-
You need to log in
before you can comment on or make changes to this bug.
Description
•