Open Bug 836422 Opened 12 years ago Updated 10 months ago

Having methods named JS_NumberValue and JS::NumberValue might not be such a good idea

Categories

(Core :: JavaScript Engine, task, P3)

task

Tracking

()

People

(Reporter: Waldo, Unassigned)

References

(Blocks 1 open bug)

Details

The names are perhaps a little bit too similar. The semantics are subtly different (JS_NumberValue canonicalizes NaNs to the js_NaN pattern). We should rename so the differences are much more obvious, or we should remove the version that doesn't canonicalize and just have every place canonicalize. I don't know if we can just always canonicalize, or if that'll be a perf it. We'll have to try it and see if there are any hot spots to care about, or something.

The bug assignee is inactive on Bugzilla, so the assignee is being reset.

Assignee: jwalden → nobody
Status: ASSIGNED → NEW
Severity: normal → S3

Yeah, this is still peculiar.

Blocks: sm-runtime
Type: defect → task
Priority: -- → P3
You need to log in before you can comment on or make changes to this bug.