Closed
Bug 795625
Opened 13 years ago
Closed 13 years ago
Don't push StmtInfo for function bodies
Categories
(Core :: JavaScript Engine, defect)
Tracking
()
RESOLVED
FIXED
mozilla18
People
(Reporter: ejpbruel, Unassigned)
Details
Attachments
(1 file)
4.04 KB,
patch
|
ejpbruel
:
review+
|
Details | Diff | Splinter Review |
As far as I can ascertain, there is no need to ever push a StmtInfo for function blocks. The only use for this in the code is to determine whether we're currently at body level, but since each function gets its own context, and each context gets it own statement stack, this is already implicit from the fact that the stack is empty.
Reporter | ||
Comment 1•13 years ago
|
||
Attachment #666232 -
Flags: review?(jorendorff)
Reporter | ||
Updated•13 years ago
|
Attachment #666232 -
Flags: review?(jorendorff) → review+
Reporter | ||
Comment 2•13 years ago
|
||
Comment 3•13 years ago
|
||
Status: NEW → RESOLVED
Closed: 13 years ago
Flags: in-testsuite-
Resolution: --- → FIXED
Target Milestone: --- → mozilla18
You need to log in
before you can comment on or make changes to this bug.
Description
•