Ignore:
Timestamp:
Jul 17, 2017, 9:38:10 AM (8 years ago)
Author:
[email protected]
Message:

Remove custom defined RELEASE_ASSERT in DFGObjectAllocationSinkingPhase
https://bugs.webkit.org/show_bug.cgi?id=174584

Rubber stamped by Keith Miller.

I used it to diagnose a bug. The bug is now fixed. This custom
RELEASE_ASSERT is no longer needed.

  • dfg/DFGObjectAllocationSinkingPhase.cpp:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/dfg/DFGObjectAllocationSinkingPhase.cpp

    r219317 r219562  
    4848
    4949namespace {
    50 
    51 NO_RETURN_DUE_TO_CRASH NEVER_INLINE void crash(const char*, int line, int)
    52 {
    53     UNUSED_PARAM(line);
    54     CRASH_WITH_SECURITY_IMPLICATION_AND_INFO(ObjectAllocationSinkingAssertionFailure, line);
    55 }
    56 
    57 #undef RELEASE_ASSERT
    58 #define RELEASE_ASSERT(assertion) do { \
    59     if (!(assertion)) { \
    60         WTFReportAssertionFailure(__FILE__, __LINE__, WTF_PRETTY_FUNCTION, #assertion); \
    61         crash(__FILE__, __LINE__, __COUNTER__); \
    62     } \
    63 } while (0)
    6450
    6551bool verbose = false;
Note: See TracChangeset for help on using the changeset viewer.