Closed
Bug 693712
Opened 14 years ago
Closed 14 years ago
SpiderMonkey dtrace build breakage
Categories
(Core :: JavaScript Engine, defect)
Tracking
()
RESOLVED
FIXED
mozilla10
People
(Reporter: sfink, Assigned: sfink)
Details
Attachments
(2 files, 1 obsolete file)
1.60 KB,
patch
|
billm
:
review+
|
Details | Diff | Splinter Review |
5.05 KB,
patch
|
billm
:
review+
|
Details | Diff | Splinter Review |
jsprobes.h uses JSObject and JSScript when compiling with --enable-dtrace, so it needs to include the appropriate headers.
Attachment #566279 -
Flags: review?(luke)
Updated•14 years ago
|
Assignee: general → sphink
I think this is going to be a problem, since jsprobes.h is in INSTALLED_HEADERS and jsobj.h is not.
...although it looks like we can remove jsprobes.h from INSTALLED_HEADERS!
Assignee | ||
Comment 3•14 years ago
|
||
Oh, I put jsprobes.h in INSTALLED_HEADERS? Ugh. I guess that was before I knew better.
I'd actually like to create something someday that *would* go into INSTALLED_HEADERS, but jsprobes.h in its current form is not that.
Attachment #566279 -
Attachment is obsolete: true
Attachment #566279 -
Flags: review?(luke)
Attachment #566285 -
Flags: review?(wmccloskey)
Attachment #566285 -
Flags: review?(wmccloskey) → review+
Assignee | ||
Comment 4•14 years ago
|
||
Misusing this bug for further followup problems in SM builds.
This patch fixes 2 problems: (1) a warning where I initialize class members out of order, and (2) an error where I use mjit:: stuff when --disable-methodjit is on.
Attachment #566302 -
Flags: review?(wmccloskey)
Comment on attachment 566302 [details] [diff] [review]
Fix other SM build problems
Thanks!
By the way, it's outside the scope of this bug, but I noticed that jsprobes.h uses different capitalization than the rest of SM. I think normally it would be probes::DiscardExecutableRegion, rather than Probes::discardExecutableRegion (lowercase for namespaces and uppercase for top-level functions).
Attachment #566302 -
Flags: review?(wmccloskey) → review+
Assignee | ||
Comment 6•14 years ago
|
||
(In reply to Bill McCloskey (:billm) from comment #5)
> Comment on attachment 566302 [details] [diff] [review] [diff] [details] [review]
> Fix other SM build problems
>
> By the way, it's outside the scope of this bug, but I noticed that
> jsprobes.h uses different capitalization than the rest of SM. I think
> normally it would be probes::DiscardExecutableRegion, rather than
> Probes::discardExecutableRegion (lowercase for namespaces and uppercase for
> top-level functions).
Yeah, you're right. I should fix that. Everything used to be in a js::Probes class, and I should've switched Probes::stuff to probes::Stuff at the same time.
Assignee | ||
Comment 7•14 years ago
|
||
(In reply to Steve Fink [:sfink] from comment #6)
> (In reply to Bill McCloskey (:billm) from comment #5)
> > Comment on attachment 566302 [details] [diff] [review] [diff] [details] [review] [diff] [details] [review]
> > Fix other SM build problems
> >
> > By the way, it's outside the scope of this bug, but I noticed that
> > jsprobes.h uses different capitalization than the rest of SM. I think
> > normally it would be probes::DiscardExecutableRegion, rather than
> > Probes::discardExecutableRegion (lowercase for namespaces and uppercase for
> > top-level functions).
>
> Yeah, you're right. I should fix that. Everything used to be in a js::Probes
> class, and I should've switched Probes::stuff to probes::Stuff at the same
> time.
Filed bug 693838
Comment 8•14 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/c515dbded0c2
https://hg.mozilla.org/mozilla-central/rev/9ee34cc1d186
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla10
You need to log in
before you can comment on or make changes to this bug.
Description
•