Closed
Bug 505502
Opened 16 years ago
Closed 16 years ago
merge tracemonkey Assembler changes into tamarin-redux
Categories
(Tamarin Graveyard :: Baseline JIT (CodegenLIR), defect)
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: edwsmith, Assigned: edwsmith)
References
Details
Attachments
(1 file, 3 obsolete files)
20.82 KB,
patch
|
rreitmai
:
review+
|
Details | Diff | Splinter Review |
mostly minor changes, but introduction of LogControl cleans up verbose-output code.
Assignee | ||
Comment 1•16 years ago
|
||
Assignee: nobody → edwsmith
Attachment #390203 -
Flags: review?(rreitmai)
Assignee | ||
Comment 2•16 years ago
|
||
Moving these to more specific locations shortens their lifetime and simplifies code flow in Assembler. (not to mention lining up more closely with tracemonkey).
Attachment #390207 -
Flags: review?(rreitmai)
Assignee | ||
Comment 3•16 years ago
|
||
The material part of this patch reduces diffs in assemble(), and cleans up the code in endAssembly(). We check error() first thing, and if there is an error we simply free code and get out. All the rest of the method doesn't need to check error().
Moved Assembler::findVictim() from RegAlloc.cpp to Assembler.cpp (no change).
rename rdr to prev in assemble()
Added the fleshed out assert for valid LIR-ending instructions at the top of gen() from tracemonkey, with additions for tamarin.
added cases for LIR_ldcs, LIR_div, LIR_mod
fixed some whitespace.
Attachment #390257 -
Flags: review?(rreitmai)
Updated•16 years ago
|
Attachment #390203 -
Flags: review?(rreitmai) → review+
Updated•16 years ago
|
Attachment #390207 -
Flags: review?(rreitmai) → review+
Updated•16 years ago
|
Attachment #390257 -
Flags: review?(rreitmai) → review+
Assignee | ||
Comment 4•16 years ago
|
||
Comment on attachment 390203 [details] [diff] [review]
LabelStateMap needs to free elements in its destructor
http://hg.mozilla.org/tamarin-redux/rev/ef7bc72cf5a9
Attachment #390203 -
Attachment is obsolete: true
Assignee | ||
Comment 5•16 years ago
|
||
Comment on attachment 390207 [details] [diff] [review]
labels, patches, and pending_lives dont need to be Assembler members
http://hg.mozilla.org/tamarin-redux/rev/e0ab9af69c52
Attachment #390207 -
Attachment is obsolete: true
Assignee | ||
Comment 6•16 years ago
|
||
Comment on attachment 390257 [details] [diff] [review]
merge logc in assemble() and endAssembly()
http://hg.mozilla.org/tamarin-redux/rev/fce45ff28af1
Attachment #390257 -
Attachment is obsolete: true
Assignee | ||
Comment 7•16 years ago
|
||
Removes Assembler._verbose, adds LogControl*, do all logging that way. most changes are just copied over from tracemonkey directly.
in Assembler.assemble(), add ReverseLister to enable viewing of LIR after each phase of the LirReader pipeline.
Attachment #390454 -
Flags: review?(rreitmai)
Comment 8•16 years ago
|
||
Comment on attachment 390454 [details] [diff] [review]
change over to LogControl for verbose printing
i love this string "FIXME-whats-this?"
And if we could only support these log levels via the command-line that would be great.
Might be worth opening a bug on this and propagating the log concept out to the rest of the code.
Attachment #390454 -
Flags: review?(rreitmai) → review+
Assignee | ||
Comment 9•16 years ago
|
||
(In reply to comment #8)
> And if we could only support these log levels via the command-line that would
> be great.
bug 506298
Assignee | ||
Comment 10•16 years ago
|
||
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Updated•16 years ago
|
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•