Clean up ion jitcode mapping generation.

NEW
Unassigned

Status

()

Core
JavaScript Engine: JIT
P5
normal
4 years ago
2 years ago

People

(Reporter: djvj, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

4 years ago
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
You need to log in before you can comment on or make changes to this bug.