Closed Bug 890784 Opened 11 years ago Closed 11 years ago

Split jscntxt{.h,inlines.h,.cpp} in two

Categories

(Core :: JavaScript Engine, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla25

People

(Reporter: n.nethercote, Assigned: n.nethercote)

Details

(Whiteboard: [js:t])

Attachments

(2 files)

jscntxt.h contains both JSContext and JSRuntime.  In this bug I'll split JSRuntime out into a separate module.
Summary: Split jscntxt{h,inlines.h,cpp} in two → Split jscntxt{.h,inlines.h,.cpp} in two
I did |hg cp jscntxt.h vm/Runtime.h|, and then removed the unneeded bits from
each file.  And likewise for the other files.  This means the diff mostly
contains removed lines.

The only unexpected change is that the RuntimeAllocPolicy() constructor that
takes a |JSContext*| had to be removed.  Not a big deal.
Attachment #771942 - Flags: review?(wmccloskey)
I used include-what-you-use to do this, which made it pretty easy and gives me
confidence it's right.
Attachment #771958 - Flags: review?(wmccloskey)
billm: I'd appreciate a fast review, if possible, because these patches will rot quickly.  Please let me know if you are busy and I'll find someone else to do them.
Comment on attachment 771942 [details] [diff] [review]
(part 1) - Create a new vm/Runtime module and put JSRuntime in it.

Thanks for doing this.
Attachment #771942 - Flags: review?(wmccloskey) → review+
Attachment #771958 - Flags: review?(wmccloskey) → review+
https://hg.mozilla.org/mozilla-central/rev/740cea2dbf45
https://hg.mozilla.org/mozilla-central/rev/a8929e61d50a
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Flags: in-testsuite-
Resolution: --- → FIXED
Target Milestone: --- → mozilla25
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: