Ignore:
Timestamp:
Jun 2, 2008, 11:26:54 PM (17 years ago)
Author:
[email protected]
Message:

JavaScriptCore:

2008-06-02 Geoffrey Garen <[email protected]>

Reviewed by Alexey Proskuryakov.

Removed JSObject::call, since it just called JSObject::callAsFunction.

SunSpider reports no change.

JavaScriptGlue:

2008-06-02 Geoffrey Garen <[email protected]>

Reviewed by Alexey Proskuryakov.

Removed JSObject::call, since it just called JSObject::callAsFunction.

SunSpider reports no change.

WebCore:

2008-06-02 Geoffrey Garen <[email protected]>

Reviewed by Alexey Proskuryakov.


Removed JSObject::call, since it just called JSObject::callAsFunction.


SunSpider reports no change.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/kjs/string_object.cpp

    r33979 r34334  
    351351          args.append(sourceVal);
    352352
    353           substitutedReplacement = replacementFunction->call(exec, exec->globalThisValue(), args)->toString(exec);
     353          substitutedReplacement = replacementFunction->callAsFunction(exec, exec->globalThisValue(), args)->toString(exec);
    354354      } else
    355355          substitutedReplacement = substituteBackreferences(replacementString, source, ovector, reg);
     
    400400      args.append(sourceVal);
    401401     
    402       replacementString = replacementFunction->call(exec, exec->globalThisValue(), args)->toString(exec);
     402      replacementString = replacementFunction->callAsFunction(exec, exec->globalThisValue(), args)->toString(exec);
    403403  }
    404404
Note: See TracChangeset for help on using the changeset viewer.