Closed Bug 430955 Opened 16 years ago Closed 16 years ago

jsfun.h uses JSArenaPool without needed typename

Categories

(Core :: JavaScript Engine, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla1.9

People

(Reporter: glandium, Assigned: glandium)

References

Details

Attachments

(1 file, 1 obsolete file)

Attached patch patch (obsolete) — Splinter Review
All is in the summary
Attachment #317887 - Flags: review?(shaver)
Rather than over-include where there's only an opaque typename dependency, use struct JSArena in the C function prototype.

/be
Attached patch patchSplinter Review
Like this?
Attachment #317887 - Attachment is obsolete: true
Attachment #317895 - Flags: review?(brendan)
Attachment #317887 - Flags: review?(shaver)
Comment on attachment 317895 [details] [diff] [review]
patch

Looks good, can await js1.8src (after mozilla1.9/fx3), although it is harmless to take sooner.

/be
Attachment #317895 - Flags: review?(brendan) → review+
Mike, did this bite a private or "friend" app that #includes jsfun.h? Just curious what that is.

/be
Blocks: js1.8src
A "friend" app: http://search.cpan.org/dist/JavaScript/

It had other problems, which I fixed with the following patch:
http://bugs.debian.org/cgi-bin/bugreport.cgi?msg=5;filename=diff;att=1;bug=478064
Assignee: general → mh+mozilla
Comment on attachment 317895 [details] [diff] [review]
patch

Simple one keyword addition patch that fixes a build issue for some users of the js engine.
Attachment #317895 - Flags: approval1.9?
Comment on attachment 317895 [details] [diff] [review]
patch

a1.9+=damons
Attachment #317895 - Flags: approval1.9? → approval1.9+
Hope I correctly resummarized this bug.

Checking in js/src/jsfun.h;
/cvsroot/mozilla/js/src/jsfun.h,v  <--  jsfun.h
new revision: 3.65; previous revision: 3.64
done
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Summary: jsfun.h uses JSArenaPool without including jsarena.h → jsfun.h uses JSArenaPool without needed typename
Target Milestone: --- → mozilla1.9
No longer blocks: js1.8src
Blocks: js1.8
No longer blocks: js1.8
Flags: in-testsuite-
Flags: in-litmus-
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: