Changeset 26688 in webkit for trunk/JavaScriptCore/kjs/lexer.cpp


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/lexer.cpp

    r26182 r26688  
    2626#include "lexer.h"
    2727
     28#include "function.h"
     29#include "interpreter.h"
     30#include "nodes.h"
    2831#include <ctype.h>
    2932#include <limits.h>
    3033#include <string.h>
    31 
    32 #include "function.h"
    33 #include "interpreter.h"
    34 #include "nodes.h"
     34#include <wtf/Assertions.h>
    3535#include <wtf/unicode/Unicode.h>
    3636
     
    442442      break;
    443443    default:
    444       assert(!"Unhandled state in switch statement");
     444      ASSERT(!"Unhandled state in switch statement");
    445445    }
    446446
     
    572572    return -1;
    573573  default:
    574     assert(!"unhandled numeration value in switch");
     574    ASSERT(!"unhandled numeration value in switch");
    575575    error = true;
    576576    return -1;
Note: See TracChangeset for help on using the changeset viewer.