Closed Bug 889599 Opened 11 years ago Closed 11 years ago

Partial CompileFunctionBody cleanup work

Categories

(Core :: JavaScript Engine, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla25

People

(Reporter: jorendorff, Assigned: jorendorff)

Details

Attachments

(4 files)

Oh wow CompileFunctionBody is a mess. These 4 patches get rid of a few unnecessary parameters and straight up a bit.
This comment gets out of date from time to time. Still worth keeping, for now...
Assignee: general → jorendorff
Attachment #770439 - Flags: review?(jwalden+bmo)
...wait for it...
Attachment #770439 - Flags: review?(jwalden+bmo) → review+
Comment on attachment 770443 [details] [diff] [review]
Part 2 - Remove unnecessary FunctionBox out-parameter from Parser<>::standaloneFunctionBody.

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

Well-spotted.
Attachment #770443 - Flags: review?(jwalden+bmo) → review+
Attachment #770446 - Flags: review?(jwalden+bmo) → review+
(In reply to Jason Orendorff [:jorendorff] from comment #4)
> ...wait for it...

...I can't bear it!
Comment on attachment 770448 [details] [diff] [review]
Part 4 - Remove unnecessary script parameter to Parser::standaloneFunctionBody

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

Magnifique!
Attachment #770448 - Flags: review?(jwalden+bmo) → review+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: