Changeset 27467 in webkit for trunk/JavaScriptCore


Ignore:
Timestamp:
Nov 5, 2007, 10:17:22 PM (18 years ago)
Author:
eseidel
Message:

2007-11-05 Eric Seidel <[email protected]>

Reviewed by mjs.

Remove one more call to toString(exec).


SunSpider claims this is a 0.7% speedup.

  • kjs/operations.cpp: (KJS::equal): remove a call to toString()
Location:
trunk/JavaScriptCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/ChangeLog

    r27458 r27467  
     12007-11-05  Eric Seidel  <[email protected]>
     2
     3        Reviewed by mjs.
     4
     5        Remove one more call to toString(exec).
     6       
     7        SunSpider claims this is a 0.7% speedup.
     8
     9        * kjs/operations.cpp:
     10        (KJS::equal): remove a call to toString()
     11
    1122007-11-05  Mark Rowe  <[email protected]>
    213
  • trunk/JavaScriptCore/kjs/operations.cpp

    r27201 r27467  
    8181   
    8282    if (t1 == StringType)
    83         return v1->toString(exec) == v2->toString(exec);
     83        return static_cast<StringImp*>(v1)->toString(exec) == v2->toString(exec);
    8484   
    8585    if (t1 == BooleanType)
Note: See TracChangeset for help on using the changeset viewer.