The default bug view has changed. See this FAQ.

tidy/shorten CallObject::getCalleeFunction()

RESOLVED FIXED in mozilla16

Status

()

Core
JavaScript Engine
RESOLVED FIXED
5 years ago
5 years ago

People

(Reporter: luke, Assigned: luke)

Tracking

unspecified
mozilla16
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Assignee)

Description

5 years ago
Created attachment 638599 [details] [diff] [review]
patch

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+
(Assignee)

Comment 1

5 years ago
https://hg.mozilla.org/integration/mozilla-inbound/rev/767913118034
Target Milestone: --- → mozilla16
https://hg.mozilla.org/mozilla-central/rev/767913118034
Status: ASSIGNED → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.