Summary: | RegExpExec/RegExpTest should not unconditionally speculate cell | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Filip Pizlo <fpizlo> | ||||||||||
Component: | JavaScriptCore | Assignee: | Filip Pizlo <fpizlo> | ||||||||||
Status: | RESOLVED FIXED | ||||||||||||
Severity: | Normal | CC: | commit-queue, keith_miller, mark.lam, msaboff, saam | ||||||||||
Priority: | P2 | ||||||||||||
Version: | WebKit Nightly Build | ||||||||||||
Hardware: | All | ||||||||||||
OS: | All | ||||||||||||
See Also: | https://bugs.webkit.org/show_bug.cgi?id=154575 | ||||||||||||
Bug Depends on: | 154927 | ||||||||||||
Bug Blocks: | |||||||||||||
Attachments: |
|
Description
Filip Pizlo
2016-03-01 19:36:34 PST
Created attachment 272626 [details]
work in progress
Created attachment 272672 [details]
performance
This performance test includes the changes to FTL OSR heuristics.
Created attachment 272725 [details]
the patch
Comment on attachment 272725 [details] the patch View in context: https://bugs.webkit.org/attachment.cgi?id=272725&action=review > Source/JavaScriptCore/dfg/DFGOperations.cpp:1607 > + //dataLog("triggerOSREntryNow not neverExecutedEntry: ", *codeBlock, "\n"); I will remove this. Attachment 272725 [details] did not pass style-queue:
ERROR: Source/JavaScriptCore/dfg/DFGOperations.cpp:635: When wrapping a line, only indent 4 spaces. [whitespace/indent] [3]
ERROR: Source/JavaScriptCore/dfg/DFGOperations.cpp:1607: Should have a space between // and comment [whitespace/comments] [4]
Total errors found: 2 in 7 files
If any of these errors are false positives, please file a bug against check-webkit-style.
I have a fix for the 32-bit build. Created attachment 272727 [details]
the patch
Attachment 272727 [details] did not pass style-queue:
ERROR: Source/JavaScriptCore/dfg/DFGOperations.cpp:635: When wrapping a line, only indent 4 spaces. [whitespace/indent] [3]
Total errors found: 1 in 7 files
If any of these errors are false positives, please file a bug against check-webkit-style.
Comment on attachment 272727 [details]
the patch
Can you please add tests for the new exception checks?
(In reply to comment #9) > Comment on attachment 272727 [details] > the patch > > Can you please add tests for the new exception checks? I'll try. I think that running after the exception is observable in this case. However, I think we want to check for exceptions after every effect, even if you can't construct a test to prove that it's needed. Forgetting exception checks, or avoiding them to be clever, has caused us trouble in the past. Landed in http://trac.webkit.org/changeset/197492 |