Closed
Bug 557887
Opened 15 years ago
Closed 15 years ago
Rename LOpcode enums in LIR.h
Categories
(Core Graveyard :: Nanojit, defect)
Core Graveyard
Nanojit
Tracking
(Not tracked)
RESOLVED
FIXED
Future
People
(Reporter: edwsmith, Unassigned)
References
Details
(Whiteboard: fixed-in-nanojit, fixed-in-tracemonkey, fixed-in-tamarin)
Attachments
(1 file, 2 obsolete files)
50.42 KB,
patch
|
n.nethercote
:
review+
|
Details | Diff | Splinter Review |
To be done mechanically using an updated script from bug 504506.
Reporter | ||
Comment 1•15 years ago
|
||
mechanical renamed using rename_LIR.pl, then backed out the alias patch hunks, and updated the pointer-sized aliases to use the new opcodes instead of PTR_SIZE macros using old opcodes.
Assignee: nobody → edwsmith
Attachment #437642 -
Attachment is obsolete: true
Status: NEW → ASSIGNED
Attachment #439542 -
Flags: review?(nnethercote)
![]() |
||
Comment 2•15 years ago
|
||
Comment on attachment 439542 [details] [diff] [review]
Rename LIR opcodes in LIR.h
>- LIR_param = PTR_SIZE(LIR_iparam, LIR_qparam),
>+ LIR_param = LIR_paramp,
There wasn't much point doing these as they'll disappear eventually, but it doesn't hurt.
>- // Used for LIR_iparam, LIR_qparam.
>+ // Used for LIR_paraml, LIR_paramq.
> class LInsP
> {
> private:
>@@ -1292,7 +1292,7 @@
> LIns* getLIns() { return &ins; };
> };
>
>- // Used for LIR_int and LIR_alloc.
>+ // Used for LIR_imml and LIR_allocp.
Might as well say "Used for LIR_paramp" for LInsP, to match "Used for ... LIR_allocp".
The rest looks fine and passed testing on TM.
Attachment #439542 -
Flags: review?(nnethercote) → review+
Reporter | ||
Comment 3•15 years ago
|
||
(In reply to comment #2)
> (From update of attachment 439542 [details] [diff] [review])
> >- LIR_param = PTR_SIZE(LIR_iparam, LIR_qparam),
> >+ LIR_param = LIR_paramp,
>
> There wasn't much point doing these as they'll disappear eventually, but it
> doesn't hurt.
yeah, my thoughts initially, but i found myself running "Find references" a lot in eclipse CDT, to find legacy alias references, and this patch reduces the false positivies.
> Might as well say "Used for LIR_paramp" for LInsP, to match "Used for ...
> LIR_allocp".
Follies of automatic renaming. Will fix before pushing.
Reporter | ||
Comment 4•15 years ago
|
||
Summary: Rename LOpcode enums in nanojit and lirasm → Rename LOpcode enums in LIR.h
Whiteboard: fixed-in-nanojit
Target Milestone: --- → Future
![]() |
||
Comment 5•15 years ago
|
||
Whiteboard: fixed-in-nanojit → fixed-in-nanojit, fixed-in-tracemonkey
Reporter | ||
Comment 6•15 years ago
|
||
Assignee: edwsmith → nobody
Whiteboard: fixed-in-nanojit, fixed-in-tracemonkey → fixed-in-nanojit, fixed-in-tracemonkey, fixed-in-tamarin
Reporter | ||
Comment 7•15 years ago
|
||
done using updated rename_LIR.pl from bug 504506.
Assignee: nobody → edwsmith
Attachment #439542 -
Attachment is obsolete: true
Attachment #440665 -
Flags: review?(nnethercote)
![]() |
||
Updated•15 years ago
|
Attachment #440665 -
Flags: review?(nnethercote) → review+
Reporter | ||
Comment 8•15 years ago
|
||
Comment on attachment 440665 [details] [diff] [review]
LIR.h/cpp, Assembler.h/cpp: rename intel LIR opcode names to C names
NJ: http://hg.mozilla.org/projects/nanojit-central/rev/2787af46329c
Reporter | ||
Updated•15 years ago
|
Assignee: edwsmith → nobody
Reporter | ||
Comment 9•15 years ago
|
||
Comment 10•15 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Assignee | ||
Updated•11 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•