Changeset 56427 in webkit


Ignore:
Timestamp:
Mar 23, 2010 4:31:34 PM (14 years ago)
Author:
ap@apple.com
Message:

Build fix.

  • runtime/ArrayPrototype.cpp: (JSC::arrayProtoFuncSplice): Fixed a typo - length doesn't need to be converted with toInteger().
Location:
trunk/JavaScriptCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/ChangeLog

    r56425 r56427  
     12010-03-23  Alexey Proskuryakov  <ap@apple.com>
     2
     3        Build fix.
     4
     5        * runtime/ArrayPrototype.cpp: (JSC::arrayProtoFuncSplice): Fixed a typo - length doesn't
     6        need to be converted with toInteger().
     7
    182010-03-23  Alexey Proskuryakov  <ap@apple.com>
    29
  • trunk/JavaScriptCore/runtime/ArrayPrototype.cpp

    r56425 r56427  
    512512        return jsUndefined();
    513513
    514     unsigned length = thisObj->get(exec, exec->propertyNames().length).toInteger(exec);
     514    unsigned length = thisObj->get(exec, exec->propertyNames().length).toUInt32(exec);
    515515    double relativeBegin = args.at(0).toInteger(exec);
    516516    unsigned begin;
Note: See TracChangeset for help on using the changeset viewer.