Closed Bug 983986 Opened 11 years ago Closed 11 years ago

Typed objects: neuter check forces prevents derived typed objects from being optimized away

Categories

(Core :: JavaScript Engine: JIT, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: nmatsakis, Unassigned)

References

Details

In the (typed objects port of) the code in bug 966567, the jit fails to optimize away the intermediate derived typed objects due to the neuter check. This is an artifact of where we choose to insert the neuter check; it should be possible to fix, though I'm not quite sure how yet. Another option would be to do a post-pass that attempts to "hoist" neuter checks (probably GVN or something like PRE could handle this for us in a generic way, if we set things up correctly).
This turns out to be untrue. The real problem was bug 983987.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.