Rename LIR-Common.h to shared/LIR-shared.h

RESOLVED FIXED in Firefox 42

Status

()

RESOLVED FIXED
3 years ago
3 years ago

People

(Reporter: sstangl, Assigned: sstangl)

Tracking

(Blocks: 1 bug)

unspecified
mozilla42
Points:
---

Firefox Tracking Flags

(firefox42 fixed)

Details

Attachments

(1 attachment, 1 obsolete attachment)

(Assignee)

Description

3 years ago
Created attachment 8640188 [details] [diff] [review]
0001-Move-Lowering-s-visitConstant-to-shared-code.-r.patch

This change fits the naming convention followed by the other files.
Attachment #8640188 - Flags: review?(nicolas.b.pierron)
(Assignee)

Updated

3 years ago
Assignee: nobody → sstangl
(Assignee)

Comment 1

3 years ago
Created attachment 8640192 [details] [diff] [review]
0001-Rename-LIR-Common.h-to-shared-LIR-shared.h.patch

Oops, clicked wrong patch.
Attachment #8640188 - Attachment is obsolete: true
Attachment #8640188 - Flags: review?(nicolas.b.pierron)
Attachment #8640192 - Flags: review?(nicolas.b.pierron)
(Assignee)

Comment 2

3 years ago
Probably this should also move LOpcodes.h to shared/LOpcodes-shared.h. Does that sound OK to you?
Comment on attachment 8640192 [details] [diff] [review]
0001-Rename-LIR-Common.h-to-shared-LIR-shared.h.patch

Review of attachment 8640192 [details] [diff] [review]:
-----------------------------------------------------------------

Thanks :)
Attachment #8640192 - Flags: review?(nicolas.b.pierron) → review+
(In reply to Sean Stangl [:sstangl] from comment #2)
> Probably this should also move LOpcodes.h to shared/LOpcodes-shared.h. Does
> that sound OK to you?

I will just notice that we usually have a jit/*.h file which dispatch the include based on the CodeGen, and then each architecture file includes the shared file.  So, if we were to do it properly, I feel that we would have to split the file in 2, one LOpcodes.h, which includes all, and one LOpcode-shared.h, which defines the shared list of LIR opcodes.

I do not have a strong opinion, so feel free to do it if you think this is the right approach.
https://hg.mozilla.org/mozilla-central/rev/ada67c4f187d
https://hg.mozilla.org/mozilla-central/rev/7b2a1ef36fcb
Status: NEW → RESOLVED
Last Resolved: 3 years ago
status-firefox42: --- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla42
You need to log in before you can comment on or make changes to this bug.