Closed
Bug 1359007
Opened 9 years ago
Closed 9 years ago
Remove js::ProfilingGetPC()
Categories
(Core :: JavaScript Engine, enhancement)
Core
JavaScript Engine
Tracking
()
RESOLVED
FIXED
mozilla55
| Tracking | Status | |
|---|---|---|
| firefox55 | --- | fixed |
People
(Reporter: n.nethercote, Assigned: n.nethercote)
Details
Attachments
(1 file)
|
5.35 KB,
patch
|
shu
:
review+
|
Details | Diff | Splinter Review |
AddPseudoEntry() has a single callsite which always passes nullptr for the
last argument. This means that js::ProfilingGetPC() is never called, and so can
be removed. (Even if it was called, it always returns nullptr because ipToPC()
always returns nullptr!)
| Assignee | ||
Comment 1•9 years ago
|
||
Attachment #8860886 -
Flags: review?(shu)
Comment 2•9 years ago
|
||
Comment on attachment 8860886 [details] [diff] [review]
Remove js::ProfilingGetPC()
Review of attachment 8860886 [details] [diff] [review]:
-----------------------------------------------------------------
::: js/src/vm/GeckoProfiler.h
@@ -192,5 @@
> /* Enter wasm code */
> void beginPseudoJS(const char* string, void* sp);
> void endPseudoJS() { pop(); }
>
> - jsbytecode* ipToPC(JSScript* script, size_t ip) { return nullptr; }
Wow!
Attachment #8860886 -
Flags: review?(shu) → review+
| Assignee | ||
Comment 3•9 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/1fa5147b77382c2a2854f4a253de9147aa9ccb4b
Bug 1359007 - Remove js::ProfilingGetPC(). r=shu.
Comment 4•9 years ago
|
||
| bugherder | ||
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
status-firefox55:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla55
You need to log in
before you can comment on or make changes to this bug.
Description
•