Closed Bug 884956 Opened 11 years ago Closed 11 years ago

CallArgsify jsmath.cpp

Categories

(Core :: JavaScript Engine, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla24

People

(Reporter: terrence, Assigned: terrence)

References

Details

Attachments

(6 files)

The static analysis would like us to Handlify ToNumber. This is easy except for the large number of users in jsmath.cpp that call ToNumber with vp[0]. This series of patches contains simple cleanups and CallArgsification of jsmath.cpp so that we can use args.handleAt(0) instead.
Attachment #764915 - Flags: review?(jwalden+bmo)
Attachment #764919 - Flags: review?(jwalden+bmo)
Attachment #764920 - Flags: review?(jwalden+bmo)
Attachment #764921 - Flags: review?(jwalden+bmo)
Attachment #764912 - Flags: review?(jwalden+bmo) → review+
Attachment #764913 - Flags: review?(jwalden+bmo) → review+
Attachment #764915 - Flags: review?(jwalden+bmo) → review+
Attachment #764919 - Flags: review?(jwalden+bmo) → review+
Attachment #764920 - Flags: review?(jwalden+bmo) → review+
Comment on attachment 764921 [details] [diff] [review]
Part 6 of 6 - Everything non-sed

Review of attachment 764921 [details] [diff] [review]:
-----------------------------------------------------------------

Well, those were all nice and speedy.  Not sure if the super-breakup helped the overall time or not, but it definitely helped with each part being quick!
Attachment #764921 - Flags: review?(jwalden+bmo) → review+
https://hg.mozilla.org/mozilla-central/rev/13d534ef657b
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla24
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: