Closed Bug 850150 Opened 11 years ago Closed 11 years ago

BaselineCompiler: Remove some unused code, cleanup

Categories

(Core :: JavaScript Engine, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: jandem, Assigned: jandem)

References

Details

Attachments

(1 file)

Attached patch PatchSplinter Review
The patch removes some unused code and fixes a leak. We suppress GC during compilation now (see AutoEnterAnalysis) so this also removes the auto rooter for BaselineCompiler.
Attachment #723870 - Flags: review?(kvijayan)
Comment on attachment 723870 [details] [diff] [review]
Patch

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

What's the leak being fixed here?  (Looks good otherwise..)
Attachment #723870 - Flags: review?(kvijayan) → review+
https://hg.mozilla.org/projects/ionmonkey/rev/469dbe86aab5

(In reply to Kannan Vijayan [:djvj] from comment #1)
> What's the leak being fixed here?  (Looks good otherwise..)

There was a cx->new_<LifoAlloc> without a delete. The patch just uses stack allocation.
Status: ASSIGNED → RESOLVED
Closed: 11 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: