Closed
Bug 908476
Opened 12 years ago
Closed 12 years ago
GeckoProfiler.h:119:15: error: unknown type name 'JSObject' (non-SPS)
Categories
(Core :: Gecko Profiler, defect)
Tracking
()
RESOLVED
FIXED
mozilla26
People
(Reporter: jbeich, Assigned: jbeich)
References
Details
Attachments
(1 file, 1 obsolete file)
|
1.00 KB,
patch
|
n.nethercote
:
review+
|
Details | Diff | Splinter Review |
On platforms without SPS profiler the build is broken due to
GeckoProfiler.h not declaring class JSObject (unlike GeckoProfilerFunc.h).
In file included from xpcom/base/nsMemoryReporterManager.cpp:23:
In file included from dist/include/mozilla/Telemetry.h:11:
In file included from dist/include/mozilla/StartupTimeline.h:26:
dist/include/GeckoProfiler.h:119:15: error: unknown type name 'JSObject'
static inline JSObject* profiler_get_profile_jsobject(JSContext* aCx) { retu...
^
dist/include/GeckoProfiler.h:119:55: error: unknown type name 'JSContext'
static inline JSObject* profiler_get_profile_jsobject(JSContext* aCx) { retu...
^
2 errors generated.
Attachment #794306 -
Flags: review?(n.nethercote)
Comment 2•12 years ago
|
||
Comment on attachment 794306 [details] [diff] [review]
declare early
Review of attachment 794306 [details] [diff] [review]:
-----------------------------------------------------------------
Thanks!
Attachment #794306 -
Flags: review?(n.nethercote) → review+
Keywords: checkin-needed
Comment on attachment 794306 [details] [diff] [review]
declare early
Review of attachment 794306 [details] [diff] [review]:
-----------------------------------------------------------------
::: tools/profiler/GeckoProfilerFunc.h
@@ -13,5 @@
> using mozilla::TimeStamp;
> using mozilla::TimeDuration;
>
> -struct JSContext;
> -class JSObject;
Oops, removing them would break SPS profiler implementation
where build would stop somewhere in tools/profiler/.
Attachment #794306 -
Attachment is obsolete: true
Attachment #794338 -
Flags: review?(n.nethercote)
Updated•12 years ago
|
Attachment #794338 -
Flags: review?(n.nethercote) → review+
Comment 5•12 years ago
|
||
Landed att 794338 : https://hg.mozilla.org/integration/mozilla-inbound/rev/1ae8a6bb3def
Keywords: checkin-needed
Comment 6•12 years ago
|
||
Assignee: nobody → jbeich
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla26
You need to log in
before you can comment on or make changes to this bug.
Description
•