[Webkit-unassigned] [Bug 19408] Constant folding in parser

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jun 12 03:46:49 PDT 2008


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


loki at inf.u-szeged.hu changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #21527|0                           |1
        is obsolete|                            |
  Attachment #21658|                            |review?
               Flag|                            |




------- Comment #4 from loki at inf.u-szeged.hu  2008-06-12 03:46 PDT -------
Created an attachment (id=21658)
 --> (https://bugs.webkit.org/attachment.cgi?id=21658&action=view)
Const.Folding.v2

This patch adds a lightweight constant folding algorithm.

The algorithm handles simple folding cases (like the left and the right side of
a binary operator are Number: CONST * CONST). It does not do expensive tree
rotation or operand swapping to optimize constant folding. So such as
expression: CONST * VAR * CONST will never be folded.

This patch is against rev. 34508.
The update of MSVC and XCode project files are missing.

No new regression found (with run-javascriptcore-tests).
SunSpider says: 1.019x as fast, 3273.1ms +/- 0.6%, 3212.9ms +/- 0.2%,
significant


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



More information about the webkit-unassigned mailing list