Closed Bug 1609229 Opened 5 years ago Closed 5 years ago

Add autoconf detection of computed goto

Categories

(Core :: JavaScript Engine, task, P3)

task

Tracking

()

RESOLVED FIXED
mozilla74
Tracking Status
firefox74 --- fixed

People

(Reporter: iain, Assigned: iain)

Details

Attachments

(1 file)

The JS interpreter uses computed goto for threaded dispatch when available. Currently, the use of computed goto is guarded by an arbitrary list of compiler versions. (__SUNPRO_C >= 0x570?!)

I'm adding a second use of computed goto in the new irregexp import (bug 1367105), so this is a good time to tidy up. Instead of hardcoding compilers, we can just use autoconf for its intended purpose.

Attachment #9120859 - Attachment description: Bug 1609229: Add autoconf detection for computed goto r=froydnj → Bug 1609229: Always use computed goto r=froydnj
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla74
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: