Closed
Bug 1170182
Opened 9 years ago
Closed 9 years ago
Remove various dead functions
Categories
(Core :: JavaScript Engine, defect)
Core
JavaScript Engine
Tracking
()
RESOLVED
FIXED
mozilla41
Tracking | Status | |
---|---|---|
firefox41 | --- | fixed |
People
(Reporter: jandem, Assigned: jandem)
Details
Attachments
(1 file)
34.35 KB,
patch
|
jorendorff
:
review+
|
Details | Diff | Splinter Review |
I was skimming jcranmer's coverage data for js/src and noticed a bunch of dead functions. 28 files changed, 0 insertions(+), 400 deletions(-)
Attachment #8613546 -
Flags: review?(jorendorff)
Comment 1•9 years ago
|
||
Comment on attachment 8613546 [details] [diff] [review] Patch Review of attachment 8613546 [details] [diff] [review]: ----------------------------------------------------------------- ::: js/src/jsfriendapi.cpp @@ -1034,5 @@ > > -JS_FRIEND_API(int64_t) > -GetMaxGCPauseSinceClear(JSRuntime* rt) > -{ > - return rt->gc.stats.getMaxGCPauseSinceClear(); Er, I think this is still used by js/src/builtin/Profilers.cpp. (Same with the next function.)
Assignee | ||
Comment 2•9 years ago
|
||
(In reply to Steve Fink [:sfink, :s:] from comment #1) > Er, I think this is still used by js/src/builtin/Profilers.cpp. (Same with > the next function.) Profilers.cpp defines different functions with the same name (it confused me too...)
Comment 3•9 years ago
|
||
Comment on attachment 8613546 [details] [diff] [review] Patch Review of attachment 8613546 [details] [diff] [review]: ----------------------------------------------------------------- ::: js/src/jsarray.cpp @@ -3594,5 @@ > - arr->setDenseInitializedLength(length); > - arr->initDenseElements(0, vp, length); > - > - return arr; > -} I will need to resurrect this code later -- or something like it -- but definitely kill it for now. I'm only commenting here as a memo to myself.
Attachment #8613546 -
Flags: review?(jorendorff) → review+
Comment 5•9 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/8fe7179bfc6c
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
status-firefox41:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla41
You need to log in
before you can comment on or make changes to this bug.
Description
•