[Webkit-unassigned] [Bug 193869] [BigInt] Support constant fold of BigInts on DFG

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Jan 26 10:33:08 PST 2019


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

Caio Lima <ticaiolima at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|webkit-unassigned at lists.web |ticaiolima at gmail.com
                   |kit.org                     |

--- Comment #2 from Caio Lima <ticaiolima at gmail.com> ---
Created attachment 360242

  --> https://bugs.webkit.org/attachment.cgi?id=360242&action=review

WIP - Patch

Here is a very simple version to illustrate what I have in mind now. I'm creating LazyBigIntValue to store required information to calculate BigInts properly. A LazyJSValue(NewBigInt) can have KnowValue or other LazyBigIntValue as operands. This enables us fold cascaded constants. The Folding is being done during Strengthreduction, following String rules as well.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20190126/52e1f8db/attachment.html>


More information about the webkit-unassigned mailing list