Ignore:
Timestamp:
Nov 21, 2008, 1:20:41 PM (17 years ago)
Author:
[email protected]
Message:

Reviewed by Dan Bernstein.

https://bugs.webkit.org/show_bug.cgi?id=22402
Replace abort() with CRASH()

  • wtf/Assertions.h: Added a different method to crash, which should work even is 0xbbadbeef is a valid memory address.
  • runtime/Collector.cpp:
  • wtf/FastMalloc.cpp:
  • wtf/FastMalloc.h:
  • wtf/TCSpinLock.h: Replace abort() with CRASH().
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/wtf/FastMalloc.h

    r38672 r38673  
    2828namespace WTF {
    2929
    30     // These functions call abort() if an allocation fails.
     30    // These functions call CRASH() if an allocation fails.
    3131    void* fastMalloc(size_t n);
    3232    void* fastZeroedMalloc(size_t n);
Note: See TracChangeset for help on using the changeset viewer.