Closed
Bug 796320
Opened 13 years ago
Closed 13 years ago
Minor JSContext and JSRuntime clean-ups
Categories
(Core :: JavaScript Engine, defect)
Core
JavaScript Engine
Tracking
()
RESOLVED
FIXED
mozilla18
People
(Reporter: n.nethercote, Assigned: n.nethercote)
Details
(Whiteboard: [js:t])
Attachments
(3 files)
|
1.70 KB,
patch
|
luke
:
review+
|
Details | Diff | Splinter Review |
|
1.22 KB,
patch
|
luke
:
review+
|
Details | Diff | Splinter Review |
|
3.23 KB,
patch
|
luke
:
review+
|
Details | Diff | Splinter Review |
I have some minor JSContext and JSRuntime clean-ups coming.
| Assignee | ||
Comment 1•13 years ago
|
||
JSRuntime::waiveGCQuota is dead.
Attachment #666819 -
Flags: review?(luke)
| Assignee | ||
Comment 2•13 years ago
|
||
AutoSetGeneratingError is dead. (An AutoScopedAssign<bool> is now used for
modifying cx->generatorError instead.)
(Hmm... isn't "AutoScoped" redundant?)
Attachment #666821 -
Flags: review?(luke)
| Assignee | ||
Comment 3•13 years ago
|
||
JSContext::lastMessage isn't needed.
Attachment #666822 -
Flags: review?(luke)
Comment 4•13 years ago
|
||
Comment on attachment 666819 [details] [diff] [review]
(part 1) - Remove dead JSRuntime::waiveGCQuota.
but but but what if a binary addon is #including jscntxt.h and using this field to store a private pointer!
Attachment #666819 -
Flags: review?(luke) → review+
Updated•13 years ago
|
Attachment #666821 -
Flags: review?(luke) → review+
Comment 5•13 years ago
|
||
Comment on attachment 666822 [details] [diff] [review]
(part 3) - Remove JSContext::lastMessage.
Hah
Attachment #666822 -
Flags: review?(luke) → review+
| Assignee | ||
Comment 6•13 years ago
|
||
Comment 7•13 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/d9cc5f638610
https://hg.mozilla.org/mozilla-central/rev/bdbc91e1e7db
https://hg.mozilla.org/mozilla-central/rev/7efe6f0c30e6
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla18
You need to log in
before you can comment on or make changes to this bug.
Description
•