Changeset 26688 in webkit for trunk/JavaScriptCore/kjs/function.cpp
- Timestamp:
- Oct 16, 2007, 4:25:33 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/kjs/function.cpp
r26682 r26688 26 26 #include "function.h" 27 27 28 #include "context.h" 29 #include "debugger.h" 28 30 #include "dtoa.h" 31 #include "function_object.h" 29 32 #include "internal.h" 30 #include "function_object.h"31 33 #include "lexer.h" 32 34 #include "nodes.h" 33 35 #include "operations.h" 34 #include "debugger.h" 35 #include "context.h" 36 36 #include <errno.h> 37 37 #include <stdio.h> 38 #include <errno.h>39 38 #include <stdlib.h> 40 #include <assert.h>41 39 #include <string.h> 42 43 40 #include <wtf/ASCIICType.h> 41 #include <wtf/Assertions.h> 44 42 #include <wtf/unicode/Unicode.h> 45 43 … … 376 374 int indexAsNumber = index.toUInt32(&indexIsNumber); 377 375 378 assert(indexIsNumber && indexAsNumber < size);376 ASSERT(indexIsNumber && indexAsNumber < size); 379 377 380 378 _map[indexAsNumber] = CommonIdentifiers::shared()->nullIdentifier; … … 391 389 int indexAsNumber = index.toUInt32(&indexIsNumber); 392 390 393 assert(indexIsNumber && indexAsNumber < size);391 ASSERT(indexIsNumber && indexAsNumber < size); 394 392 395 393 return (*this)[indexAsNumber]; … … 516 514 { 517 515 // There's no way that an activation object can have a prototype or getter/setter properties 518 assert(!_prop.hasGetterSetterProperties());519 assert(prototype() == jsNull());516 ASSERT(!_prop.hasGetterSetterProperties()); 517 ASSERT(prototype() == jsNull()); 520 518 521 519 _prop.put(propertyName, value, attr, (attr == None || attr == DontDelete));
Note:
See TracChangeset
for help on using the changeset viewer.