Changeset 26688 in webkit for trunk/JavaScriptCore/kjs/object.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/object.cpp

    r26074 r26688  
    3333#include "PropertyNameArray.h"
    3434#include <math.h>
     35#include <wtf/Assertions.h>
    3536
    3637// maximum global call stack size. Protects against accidental or
     
    6566JSValue *JSObject::call(ExecState *exec, JSObject *thisObj, const List &args)
    6667{
    67   assert(implementsCall());
     68  ASSERT(implementsCall());
    6869
    6970#if KJS_MAX_STACK > 0
     
    205206void JSObject::put(ExecState* exec, const Identifier &propertyName, JSValue *value, int attr)
    206207{
    207   assert(value);
     208  ASSERT(value);
    208209
    209210  // non-standard netscape extension
     
    433434JSObject* JSObject::construct(ExecState*, const List& /*args*/)
    434435{
    435   assert(false);
     436  ASSERT(false);
    436437  return NULL;
    437438}
     
    449450JSValue *JSObject::callAsFunction(ExecState* /*exec*/, JSObject* /*thisObj*/, const List &/*args*/)
    450451{
    451   assert(false);
     452  ASSERT(false);
    452453  return NULL;
    453454}
Note: See TracChangeset for help on using the changeset viewer.