Changeset 27751 in webkit for trunk/JavaScriptCore


Ignore:
Timestamp:
Nov 13, 2007, 9:22:36 AM (18 years ago)
Author:
Darin Adler
Message:
  • kjs/JSImmediate.h: (KJS::JSImmediate::getTruncatedInt32): Remove too-strong assert that was firing constantly and preventing even basic web browsing from working in a debug build. This function is used in many cases where the immediate value is not a number; the assertion could perhaps be added back later with a bit of reorganization.
Location:
trunk/JavaScriptCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/ChangeLog

    r27750 r27751  
     12007-11-13  Darin Adler  <[email protected]>
     2
     3        * kjs/JSImmediate.h: (KJS::JSImmediate::getTruncatedInt32):
     4        Remove too-strong assert that was firing constantly and preventing even basic
     5        web browsing from working in a debug build. This function is used in many
     6        cases where the immediate value is not a number; the assertion could perhaps
     7        be added back later with a bit of reorganization.
     8
    192007-11-13  Alp Toker  <[email protected]>
    210
  • trunk/JavaScriptCore/kjs/JSImmediate.h

    r27749 r27751  
    243243ALWAYS_INLINE int32_t JSImmediate::getTruncatedInt32(const JSValue* v)
    244244{
    245     ASSERT(isNumber(v));
    246245    return static_cast<int32_t>(unTag(v)) >> 2;
    247246}
Note: See TracChangeset for help on using the changeset viewer.