Closed
Bug 890784
Opened 11 years ago
Closed 11 years ago
Split jscntxt{.h,inlines.h,.cpp} in two
Categories
(Core :: JavaScript Engine, defect)
Core
JavaScript Engine
Tracking
()
RESOLVED
FIXED
mozilla25
People
(Reporter: n.nethercote, Assigned: n.nethercote)
Details
(Whiteboard: [js:t])
Attachments
(2 files)
158.40 KB,
patch
|
billm
:
review+
|
Details | Diff | Splinter Review |
10.15 KB,
patch
|
billm
:
review+
|
Details | Diff | Splinter Review |
jscntxt.h contains both JSContext and JSRuntime. In this bug I'll split JSRuntime out into a separate module.
Assignee | ||
Updated•11 years ago
|
Summary: Split jscntxt{h,inlines.h,cpp} in two → Split jscntxt{.h,inlines.h,.cpp} in two
Assignee | ||
Comment 1•11 years ago
|
||
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)
Assignee | ||
Comment 2•11 years ago
|
||
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)
Assignee | ||
Comment 3•11 years ago
|
||
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+
Assignee | ||
Comment 5•11 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/740cea2dbf45 https://hg.mozilla.org/integration/mozilla-inbound/rev/a8929e61d50a Thanks for the fast review.
Comment 6•11 years ago
|
||
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.
Description
•