Summary: | DFG JIT should speculate more aggressively on reads of array.length | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Filip Pizlo <fpizlo> | ||||||
Component: | JavaScriptCore | Assignee: | Nobody <webkit-unassigned> | ||||||
Status: | RESOLVED FIXED | ||||||||
Severity: | Normal | ||||||||
Priority: | P2 | ||||||||
Version: | 528+ (Nightly build) | ||||||||
Hardware: | All | ||||||||
OS: | All | ||||||||
Attachments: |
|
Description
Filip Pizlo
2011-09-27 14:11:26 PDT
Created attachment 108895 [details]
the patch
Comment on attachment 108895 [details] the patch View in context: https://bugs.webkit.org/attachment.cgi?id=108895&action=review > Source/JavaScriptCore/dfg/DFGPropagator.cpp:695 > +#if ENABLE(DFG_DEBUG_PROPAGATION_VERBOSE) > + printf(" @%u -> GetArrayLength", nodeIndex); > +#endif please add debug message macros Created attachment 108903 [details]
the patch
Added debug message macro.
Comment on attachment 108903 [details]
the patch
I'd rather #define DFG_DEBUG_PROPAGATION(msg...) printf(msg);
But my suggestion was meant for a following patch
(In reply to comment #4) > (From update of attachment 108903 [details]) > I'd rather #define DFG_DEBUG_PROPAGATION(msg...) printf(msg); > > But my suggestion was meant for a following patch So you want me to commit the previous patch, and then do the refactoring separately? |