Closed Bug 843325 Opened 12 years ago Closed 4 months ago

BaselineCompiler: Add optimized stub to handle EVAL

Categories

(Core :: JavaScript Engine, defect)

x86
macOS
defect

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: djvj, Unassigned)

References

(Blocks 1 open bug)

Details

This hits 5000 times in date-format-tofte, where we enter the VM and re-enter baseline. Fallback stub needs to look up the JSScript in the eval cache and add a guarded stub to jump directly to the script based on matching string.
Assignee: general → nobody
Severity: normal → S3

eval is actively discouraged these days.
Iain, I'm closing this bug but please feel free to reopen.

Status: NEW → RESOLVED
Closed: 4 months ago
Resolution: --- → INCOMPLETE

This particular optimization is targeted at a single microbenchmark that's been copied from Sunspider to Octane and then Jetstream. I'm not aware of it ever kicking in on the web, so we decided not to reimplement it in Ion during the IonBuilder->WarpBuilder transition. It's likely that this microbenchmark will finally be removed in an upcoming version of JetStream.

You need to log in before you can comment on or make changes to this bug.