Closed Bug 538639 Opened 15 years ago Closed 15 years ago

At the top of a catch block, we generate coerce when an unbox is all that is needed.

Categories

(Tamarin Graveyard :: Baseline JIT (CodegenLIR), defect, P2)

defect

Tracking

(Not tracked)

RESOLVED FIXED
Q3 11 - Serrano

People

(Reporter: edwsmith, Assigned: wmaddox)

References

Details

The exception value caught is always represented as Atom, however the catch block is chosen based on the type of the value, so once the catch block is entered, all we need to do is convert Atom to a native representation; a second implicit type check is not required. See this code in Verifier::verify(): if (pc == code_pos + handler->target) { emitCoerce(handler->traits, sp); }
Severity: normal → enhancement
Target Milestone: --- → Future
Depends on: 565184
Assignee: nobody → wmaddox
Severity: enhancement → trivial
Status: NEW → ASSIGNED
Priority: -- → P2
Target Milestone: Future → flash10.2
Fixed by the fix for: Bug 565184 - Corrupt ABC can cause execution to fall of the end of JIT-ed method https://bugzilla.mozilla.org/attachment.cgi?id=448682&action=edit
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Flags: flashplayer-bug+
You need to log in before you can comment on or make changes to this bug.