[Webkit-unassigned] [Bug 26987] Add fast case for Math.floor(a / b) expressions

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jul 6 06:08:46 PDT 2009


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


Zoltan Herczeg <zherczeg at inf.u-szeged.hu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #32297|                            |review?
               Flag|                            |




--- Comment #1 from Zoltan Herczeg <zherczeg at inf.u-szeged.hu>  2009-07-06 06:08:45 PDT ---
Created an attachment (id=32297)
 --> (https://bugs.webkit.org/attachment.cgi?id=32297)
getType() method added for all leaf Nodes

I split the patch into two parts for easier review.

Since my mthod detects Math.floor(a/b) expressions in AST level, I need some
kind of node type. I decided to use virtual methods for this task, because
emitByteCode has already virtual, so virtual method table has already generated
for all nodes.

Perhaps some virtual functions can be eliminated in ExpressionNode using these
types.

-- 
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