[Webkit-unassigned] [Bug 68316] DFG JIT does not have full block-local CSE

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Sep 17 17:20:48 PDT 2011


https://bugs.webkit.org/show_bug.cgi?id=68316


Oliver Hunt <oliver at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #107779|review?                     |review+
               Flag|                            |




--- Comment #9 from Oliver Hunt <oliver at apple.com>  2011-09-17 17:20:48 PST ---
(From update of attachment 107779)
View in context: https://bugs.webkit.org/attachment.cgi?id=107779&action=review

r=me but i'd like some response to my commentary

> Source/JavaScriptCore/dfg/DFGNode.h:176
> +    macro(PutByVal, NodeMustGenerate | NodeClobbersWorld) \
> +    macro(PutByValAlias, NodeMustGenerate | NodeClobbersWorld) \
> +    macro(GetById, NodeResultJS | NodeMustGenerate | NodeClobbersWorld) \
> +    macro(PutById, NodeMustGenerate | NodeClobbersWorld) \
> +    macro(PutByIdDirect, NodeMustGenerate | NodeClobbersWorld) \

Do we really need to consider the gets to clobber the world?  if we know that the get is a pure object property, then the access is pure

> Source/JavaScriptCore/dfg/DFGPropagator.cpp:732
> +        case ArithAbs:

Don't we support sqrt(), and min/max?

In the longer term it seems we would probably want a generic handler for pure intrinsics.

> Source/JavaScriptCore/dfg/DFGPropagator.cpp:-443
> -#if ENABLE(DFG_DEBUG_VERBOSE)
> -    graph.dump(codeBlock);
> -#endif

is this deliberate?

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list