Summary: | SQUIRRELFISH: exceptions thrown by native constructors are ignored | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Cameron Zwarich (cpst) <zwarich> | ||||||
Component: | JavaScriptCore | Assignee: | Nobody <webkit-unassigned> | ||||||
Status: | RESOLVED FIXED | ||||||||
Severity: | Normal | ||||||||
Priority: | P2 | ||||||||
Version: | 528+ (Nightly build) | ||||||||
Hardware: | All | ||||||||
OS: | All | ||||||||
Bug Depends on: | |||||||||
Bug Blocks: | 18624 | ||||||||
Attachments: |
|
Description
Cameron Zwarich (cpst)
2008-04-24 21:45:01 PDT
Created attachment 20808 [details]
Proposed patch
Here's the natural patch. It fixes the test, and is either a slight speedup on SunSpider or no regression.
Comment on attachment 20808 [details]
Proposed patch
r=me
Created attachment 20809 [details]
Revised proposed patch
We should do the exception check before writing to any register. The code currently doing the check after writing is incorrect. This version does slightly better on SunSpider, for a pretty definite 0.4% progression.
Comment on attachment 20809 [details]
Revised proposed patch
r=me
Landed r 32538 |