Closed Bug 1359007 Opened 9 years ago Closed 9 years ago

Remove js::ProfilingGetPC()

Categories

(Core :: JavaScript Engine, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla55
Tracking Status
firefox55 --- fixed

People

(Reporter: n.nethercote, Assigned: n.nethercote)

Details

Attachments

(1 file)

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!)
Attachment #8860886 - Flags: review?(shu)
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+
No longer depends on: 1359000
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla55
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: