Closed Bug 770421 Opened 12 years ago Closed 12 years ago

tidy/shorten CallObject::getCalleeFunction()

Categories

(Core :: JavaScript Engine, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla16

People

(Reporter: luke, Assigned: luke)

Details

Attachments

(1 file)

Attached patch patchSplinter Review
Simple syntactic patch:
 - rename 'getCalleeFunction' to 'callee' (so my expressions stop overflowing)
 - make 'callee' return a JSFunction&, since callee is always a non-null JSFunction
 - remove the maybe-NULL getCallee, change single caller to test isForEval.
 - remove unused setCallee
 - fix wrong comment
Attachment #638599 - Flags: review?(n.nethercote)
Attachment #638599 - Flags: review?(n.nethercote) → review+
https://hg.mozilla.org/mozilla-central/rev/767913118034
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: