Ignore:
Timestamp:
Oct 16, 2007, 4:25:33 PM (18 years ago)
Author:
ggaren
Message:

Reviewed by Darin Adler.


Global replace of assert with ASSERT.

File:
1 edited

Legend:

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

    r26680 r26688  
    3131#include "identifier.h"
    3232#include "operations.h"
    33 #include <assert.h>
    3433#include <ctype.h>
    3534#include <float.h>
     
    3837#include <stdio.h>
    3938#include <stdlib.h>
     39#include <wtf/Assertions.h>
    4040#include <wtf/ASCIICType.h>
    4141#include <wtf/Vector.h>
     
    218218  base = base->baseString;
    219219
    220   assert(-(offset + baseOffset) <= base->usedPreCapacity);
    221   assert(offset + baseOffset + length <= base->usedCapacity);
     220  ASSERT(-(offset + baseOffset) <= base->usedPreCapacity);
     221  ASSERT(offset + baseOffset + length <= base->usedCapacity);
    222222
    223223  Rep *r = new Rep;
Note: See TracChangeset for help on using the changeset viewer.