Closed Bug 803520 Opened 12 years ago Closed 12 years ago

Don't use JSCList for JSRuntime::contextList

Categories

(Core :: JavaScript Engine, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla19

People

(Reporter: Ms2ger, Assigned: Ms2ger)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

Attached patch Patch v1 (deleted) — Splinter Review
No description provided.
Attachment #673214 - Flags: review?(jwalden+bmo)
Comment on attachment 673214 [details] [diff] [review] Patch v1 Review of attachment 673214 [details] [diff] [review]: ----------------------------------------------------------------- ::: js/src/jsapi.cpp @@ +972,5 @@ > #endif > > #ifdef DEBUG > /* Don't hurt everyone in leaky ol' Mozilla with a fatal JS_ASSERT! */ > + if (!contextList.isEmpty()) { This probably reads better as hasContexts(). ::: js/src/jscntxt.h @@ +1215,5 @@ > > } /* namespace js */ > > struct JSContext : js::ContextFriendFields > + , public mozilla::LinkedListElement<JSContext> struct JSContext : js::ContextFriendFields, public mozilla::LinkedListElement<JSContext>
Attachment #673214 - Flags: review?(jwalden+bmo) → review+
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Flags: in-testsuite-
Resolution: --- → FIXED
Target Milestone: --- → mozilla19
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: