Open Bug 1097807 Opened 10 years ago Updated 2 years ago

Clean up ion jitcode mapping generation.

Categories

(Core :: JavaScript Engine: JIT, defect, P5)

defect

Tracking

()

People

(Reporter: djvj, Unassigned)

References

Details

IonMonkey's CodeGenerator keeps a handful of fields (nativeToBytecode*_) that are better organized as a temporary struct that is passed around on stack.

Also, the freeing of nativeToBytecodeScriptList_ and nativeToBytecodeMap_ on error paths is currently ad-hoc, and should be modified to use a UniquePtr to ensure that the data gets freed appropriately.
Priority: -- → P5
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.