Changeset 37763 in webkit for trunk/JavaScriptCore/ChangeLog


Ignore:
Timestamp:
Oct 21, 2008, 2:29:31 PM (17 years ago)
Author:
Darin Adler
Message:

2008-10-21 Darin Adler <Darin Adler>

Reviewed by Maciej Stachowiak.

  • convert post-increment to pre-increment in a couple more places for speed

Speeds up V8 benchmarks a little on most computers. (But, strangely, slows
them down a little on my computer.)

  • kjs/nodes.cpp: (JSC::statementListEmitCode): Removed default argument, since we always want to specify this explicitly. (JSC::ForNode::emitCode): Tolerate ignoredResult() as the dst -- means the same thing as 0. (JSC::ReturnNode::emitCode): Ditto. (JSC::ThrowNode::emitCode): Ditto. (JSC::FunctionBodyNode::emitCode): Pass ignoredResult() so that we know we don't have to compute the result of function statements.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/ChangeLog

    r37762 r37763  
     12008-10-21  Darin Adler  <[email protected]>
     2
     3        Reviewed by Maciej Stachowiak.
     4
     5        - convert post-increment to pre-increment in a couple more places for speed
     6
     7        Speeds up V8 benchmarks a little on most computers. (But, strangely, slows
     8        them down a little on my computer.)
     9
     10        * kjs/nodes.cpp:
     11        (JSC::statementListEmitCode): Removed default argument, since we always want
     12        to specify this explicitly.
     13        (JSC::ForNode::emitCode): Tolerate ignoredResult() as the dst -- means the
     14        same thing as 0.
     15        (JSC::ReturnNode::emitCode): Ditto.
     16        (JSC::ThrowNode::emitCode): Ditto.
     17        (JSC::FunctionBodyNode::emitCode): Pass ignoredResult() so that we know we
     18        don't have to compute the result of function statements.
     19
    1202008-10-21  Peter Kasting  <[email protected]>
    221
Note: See TracChangeset for help on using the changeset viewer.