Summary: | for-in optimization should also make sure the base matches the object being iterated | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Mark Hahnenberg <mhahnenberg> | ||||||
Component: | JavaScriptCore | Assignee: | Mark Hahnenberg <mhahnenberg> | ||||||
Status: | RESOLVED FIXED | ||||||||
Severity: | Normal | CC: | fpizlo, ggaren, mark.lam | ||||||
Priority: | P2 | ||||||||
Version: | 528+ (Nightly build) | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
Bug Depends on: | 135812 | ||||||||
Bug Blocks: | |||||||||
Attachments: |
|
Description
Mark Hahnenberg
2014-08-08 18:21:22 PDT
Created attachment 236329 [details]
Patch
Created attachment 236331 [details]
Patch
Comment on attachment 236331 [details]
Patch
r=me
Comment on attachment 236331 [details] Patch Clearing flags on attachment: 236331 Committed r172401: <http://trac.webkit.org/changeset/172401> All reviewed patches have been landed. Closing bug. The new test in this patch is failing on 32-bit: http://build.webkit.org/builders/Apple%20Mavericks%2032-bit%20JSC%20%28BuildAndTest%29/builds/3491/steps/webkit-32bit-jsc-test/logs/stdio Looks like this is not just a 32-bit issue: http://build.webkit.org/builders/Apple%20Mavericks%20Release%20WK1%20%28Tests%29/builds/7945 Re-opened since this is blocked by bug 135812 Looks like there's a bug in the test. "for (var p in a) {" should be "for (var p in b) {". Currently re-testing before re-landing. Sorry, ignore that Radar link. Patch re-landed in r172413: <http://trac.webkit.org/r172413>. This was a 50% regression on string-fasta. |