Ignore:
Timestamp:
Dec 30, 2007, 11:02:26 PM (17 years ago)
Author:
[email protected]
Message:

Reviewed by Sam.

Remove maxInt/minInt, replacing with std:max/min<int>()

  • kjs/array_object.cpp: (KJS::ArrayProtoFuncSplice::callAsFunction):
  • kjs/operations.cpp:
  • kjs/operations.h:
File:
1 edited

Legend:

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

    r28370 r29045  
    126126}
    127127
    128 int maxInt(int d1, int d2)
    129 {
    130     return (d1 > d2) ? d1 : d2;
    131128}
    132 
    133 int minInt(int d1, int d2)
    134 {
    135     return (d1 < d2) ? d1 : d2;
    136 }
    137 
    138 }
Note: See TracChangeset for help on using the changeset viewer.