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()
File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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.