Closed
Bug 509857
Opened 14 years ago
Closed 13 years ago
get rid of LOCK_DTOA
Categories
(Core :: JavaScript Engine, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: sayrer, Assigned: jorendorff)
Details
(Whiteboard: fixed-in-tracemonkey)
Attachments
(1 file, 1 obsolete file)
55.08 KB,
patch
|
Waldo
:
review+
|
Details | Diff | Splinter Review |
we shouldn't need this
Assignee | ||
Comment 1•14 years ago
|
||
I assume we do not need to keep JS_strtod or JS_dtostr. These are both declared JS_FRIEND_API and are not in jsapi.h or used by Mozilla outside the JS engine.
Assignee: general → jorendorff
Comment 2•14 years ago
|
||
Let's try to lose the FRIENDs -- can you ask the newsgroup again? It has spam now and may be even less useful in proving no one uses an old friend API but we have to try somehow to reach embedders. /be
Assignee | ||
Comment 3•14 years ago
|
||
Who would review this, I wonder?
Assignee | ||
Updated•13 years ago
|
Attachment #414396 -
Flags: review?(jwalden+bmo)
Comment 4•13 years ago
|
||
Sorry, but this patch don't apply.
Assignee | ||
Comment 5•13 years ago
|
||
This applies cleanly to tracemonkey tip. If there's something else I should be targeting, I don't know what that is!
Attachment #414396 -
Attachment is obsolete: true
Attachment #428883 -
Flags: review?(jwalden+bmo)
Attachment #414396 -
Flags: review?(jwalden+bmo)
Comment 6•13 years ago
|
||
Jason, You need to use js_free() and js_malloc() in your patch.
Assignee | ||
Comment 7•13 years ago
|
||
I'll happily update it if there are any signs of life in this bug. Waldo, will you have a chance to look at this any time soon?
Comment 8•13 years ago
|
||
Yeah, I need to get to this. Look for this by end of day Monday at the latest.
Comment 9•13 years ago
|
||
Haven't started yet, will look at it over dinner -- hope to get this done tonight, but if my brain turns to mush (it's starting to curdle) I'll have to punt to tomorrow morning.
Assignee | ||
Comment 10•13 years ago
|
||
It looks like I don't need to make any changes here for js_free and js_malloc. (However, as a separate bug, jsdtoa.cpp should #define MALLOC js_malloc #define FREE js_free before #include-ing dtoa.c.)
Updated•13 years ago
|
Attachment #428883 -
Flags: review?(jwalden+bmo) → review+
Assignee | ||
Comment 11•13 years ago
|
||
http://hg.mozilla.org/tracemonkey/rev/cdcdaf01be6c
Whiteboard: fixed-in-tracemonkey
Assignee | ||
Comment 12•13 years ago
|
||
Follow-up bug for comment 10 is bug 554195.
Comment 13•13 years ago
|
||
Does it mean now that we can use Runtime per thread without JS_THREADSAFE?
Comment 14•13 years ago
|
||
(In reply to comment #13) > Does it mean now that we can use Runtime per thread without JS_THREADSAFE? Yes.
Reporter | ||
Comment 15•13 years ago
|
||
http://hg.mozilla.org/mozilla-central/rev/cdcdaf01be6c
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•