Closed Bug 989667 Opened 10 years ago Closed 10 years ago

Add writes of recovery meta-data to MResumePoint.

Categories

(Core :: JavaScript Engine: JIT, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla31

People

(Reporter: nbp, Assigned: nbp)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

Currently a resume point is the structure which is used to represent a frame.  Thus it is logical that a resume point should encode the structure which is unique to the MResumePoint instead of delegating this task to the RecoverWriter.

The RecoverWriter should provide a its CompactBufferWriter to the write function of the MResumePoint.
Depends on: 989344
No longer depends on: 989641
Blocks: 989748
Comment on attachment 8399025 [details] [diff] [review]
Add writes of recovery meta-data to the MResumePoint.

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

Jan, feel free to steal the review if you have more time than Hannes.
Attachment #8399025 - Flags: review?(jdemooij)
Comment on attachment 8399025 [details] [diff] [review]
Add writes of recovery meta-data to the MResumePoint.

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

We decided on IRC it might be good to remove "writeRecoverData" and create a "visitXXX" out of this on a class RecoverDataGenerator (or something). This is to remove lowering/generating/visiting functions on the MIR structure. This would be similar to how CodeGenerator.cpp and Lowering.cpp works. I think this can go in Recover.cpp.
On IRC we agreed it would be ok to do this in a follow-up bug.

Note: We also were busy about creating "RIR.cpp/h" when the "Recover Instructions" finally get added. Though this is probably for the review of when we finally get that :D.
Attachment #8399025 - Flags: review?(jdemooij)
Attachment #8399025 - Flags: review?(hv1989)
Attachment #8399025 - Flags: review+
Blocks: 991656
https://hg.mozilla.org/mozilla-central/rev/4785fcedc937
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla31
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: