Closed Bug 1483269 Opened 6 years ago Closed 4 years ago

js::jit::AbortReason and js::gc::AbortReason do no play nice in very-unified builds

Categories

(Core :: JavaScript: GC, enhancement, P5)

61 Branch
enhancement

Tracking

()

RESOLVED FIXED
81 Branch
Tracking Status
firefox81 --- fixed

People

(Reporter: jonco, Assigned: barun1024)

References

Details

(Keywords: good-first-bug)

Attachments

(1 file, 2 obsolete files)

We could rename gc::AbortReason to GCAbortReason as I think this is used less frequently.
See Also: → 1483275
Hi @All, I would like to work on it , can any one help me how to get started with it please :)


Thanks
Flags: needinfo?(jcoppeard)
(In reply to Shivam Singhal [ :championshuttler ] from comment #1)
> Hi @All, I would like to work on it , can any one help me how to get started
> with it please :)

Great!

Start with reading: https://developer.mozilla.org/en-US/docs/Mozilla/Developer_guide/Introduction

This has the general overview of the process and a lot of helpful links. The SpiderMonkey specific build instructions are: https://developer.mozilla.org/en-US/docs/Mozilla/Projects/SpiderMonkey/Build_Documentation

This query will show the primary places you'll need to fix for this change. https://searchfox.org/mozilla-central/search?q=symbol:T_js%3A%3Agc%3A%3AAbortReason&redirect=false

If you have further questions, post in this bug or try one of the IRC channels (#introduction or #jsapi).
Assignee: nobody → shivams2799
Flags: needinfo?(jcoppeard)
Rename gc::AbortReason to GCAbortReason
Attachment #9033131 - Attachment description: Bug 1483269 - js::jit::AbortReason and js::gc::AbortReason do no play nice in very-unified builds → Bug 1483269 - js::jit::AbortReason and js::gc::AbortReason do no play nice in very-unified builds. r=tcampbell
Attachment #9033131 - Attachment description: Bug 1483269 - js::jit::AbortReason and js::gc::AbortReason do no play nice in very-unified builds. r=tcampbell → Bug 1483269 - Rename gc::AbortReason to GCAbortReason
Assignee: shivams2799 → nobody
Attachment #9033131 - Attachment is obsolete: true

Hi, Is this issue available to work on?

From what I understand I need to rename all the gc::AbortReason to GCAbortReason.

Yes, feel free to take a look look at this.

You'll need to make sure you can build spidermonkey and there are instructions here: https://firefox-source-docs.mozilla.org/js/build.html

You will need to be careful of other uses of AbortReason that refer to a different type than gc::AbortReason. Most the cases you would likely change are found here https://searchfox.org/mozilla-central/search?q=symbol:T_js%3A%3Agc%3A%3AAbortReason&redirect=false

Assignee: nobody → barun1024

(In reply to Ted Campbell [:tcampbell] from comment #5)

You'll need to make sure you can build spidermonkey and there are instructions here: https://firefox-source-docs.mozilla.org/js/build.html

Yes I have built it and it works already.

You will need to be careful of other uses of AbortReason that refer to a different type than gc::AbortReason. Most the cases you would likely change are found here https://searchfox.org/mozilla-central/search?q=symbol:T_js%3A%3Agc%3A%3AAbortReason&redirect=false

Thanks. I will get started then.

Depends on D86431

Attachment #9168920 - Attachment is obsolete: true
Pushed by tcampbell@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/34a0cc6dd653
Rename gc::AbortReason to GCAbortReason; r=tcampbell

Thanks tcampbell for guiding me through the bug. Can you link me another bug on which I can work on?

Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 81 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: