Closed Bug 496052 Opened 15 years ago Closed 13 years ago

js_LooselyEqual cleanup/factoring/API (JS_LooselyEqual)

Categories

(Core :: JavaScript Engine, defect)

defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 642274
mozilla1.9.2a1

People

(Reporter: brendan, Unassigned)

Details

Attachments

(1 file)

Attached patch fixSplinter Review
This may ding performance, I don't know. The js_LooselyEqual function is not inline and it does not use VALUE_TO_NUMBER (which has fast paths beyond what are in out-of-line js_ValueToNumber).

But this sure is cleaner.

Anyone want to take this home? Dmandelin, Sully might want this to make inline + call threading a bit easier.

/be
Flags: wanted1.9.2?
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: