Closed
Bug 1251303
Opened 8 years ago
Closed 7 years ago
Refactor internal printf implementation a little
Categories
(Core :: JavaScript Engine, defect)
Core
JavaScript Engine
Tracking
()
RESOLVED
DUPLICATE
of bug 1060419
People
(Reporter: jonco, Assigned: jonco)
Details
Attachments
(1 file)
18.55 KB,
patch
|
terrence
:
review+
|
Details | Diff | Splinter Review |
Here's a patch to clean up a few things that bothered me in jsprf.cpp: - remove unused members from SprintfState - use a virtual function rather calling a function pointers - rename things for general comprehensibility
Attachment #8723647 -
Flags: review?(terrence)
Comment 1•8 years ago
|
||
Side-note, this printf implementation is cloned multiple times within Gecko.
Comment 2•8 years ago
|
||
This makes me think we should just totally rip that stuff out and use standard C methods for this.
Comment 3•8 years ago
|
||
Comment on attachment 8723647 [details] [diff] [review] refactor-jsprf Review of attachment 8723647 [details] [diff] [review]: ----------------------------------------------------------------- Yes, please.
Attachment #8723647 -
Flags: review?(terrence) → review+
Assignee | ||
Comment 5•8 years ago
|
||
Backed out for causing ASAN failures: https://hg.mozilla.org/integration/mozilla-inbound/rev/346a7684fde5
Comment 6•7 years ago
|
||
I'm doing this same kind of thing in bug 1060419. I'm going to close this one as a dup as that one is pretty far along. I didn't know about this bug at the time or I would have started with it, sorry about that.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → DUPLICATE
Assignee | ||
Comment 7•7 years ago
|
||
(In reply to Tom Tromey :tromey from comment #6) No worries, thanks for doing this.
You need to log in
before you can comment on or make changes to this bug.
Description
•