Changeset 227792 in webkit


Ignore:
Timestamp:
Jan 30, 2018 10:04:21 AM (6 years ago)
Author:
mark.lam@apple.com
Message:

Move ENABLE_POISON to Platform.h.
https://bugs.webkit.org/show_bug.cgi?id=182298
<rdar://problem/37032686>

Reviewed by Michael Saboff and JF Bastien.

ENABLE_POISON belongs in Platform.h to ensure that all places that depend on
ENABLE(POISON) will see it properly defined.

  • wtf/Platform.h:
  • wtf/Poisoned.h:
Location:
trunk/Source/WTF
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WTF/ChangeLog

    r227701 r227792  
     12018-01-30  Mark Lam  <mark.lam@apple.com>
     2
     3        Move ENABLE_POISON to Platform.h.
     4        https://bugs.webkit.org/show_bug.cgi?id=182298
     5        <rdar://problem/37032686>
     6
     7        Reviewed by Michael Saboff and JF Bastien.
     8
     9        ENABLE_POISON belongs in Platform.h to ensure that all places that depend on
     10        ENABLE(POISON) will see it properly defined.
     11
     12        * wtf/Platform.h:
     13        * wtf/Poisoned.h:
     14
    1152018-01-26  Mark Lam  <mark.lam@apple.com>
    216
  • trunk/Source/WTF/wtf/Platform.h

    r227684 r227792  
    11/*
    2  * Copyright (C) 2006-2017 Apple Inc. All rights reserved.
     2 * Copyright (C) 2006-2018 Apple Inc. All rights reserved.
    33 * Copyright (C) 2007-2009 Torch Mobile, Inc.
    44 * Copyright (C) 2010, 2011 Research In Motion Limited. All rights reserved.
     
    10141014#endif
    10151015
     1016#define ENABLE_POISON 1
     1017/* Not currently supported for 32-bit or OS(WINDOWS) builds (because of missing llint support). Make sure it's disabled. */
     1018#if USE(JSVALUE32_64) || OS(WINDOWS)
     1019#undef ENABLE_POISON
     1020#define ENABLE_POISON 0
     1021#endif
     1022
    10161023/* CSS Selector JIT Compiler */
    10171024#if !defined(ENABLE_CSS_SELECTOR_JIT)
  • trunk/Source/WTF/wtf/Poisoned.h

    r227628 r227792  
    3030#include <wtf/Assertions.h>
    3131
    32 #define ENABLE_POISON 1
    3332#define ENABLE_POISON_ASSERTS 0
    3433
    35 // Not currently supported for 32-bit or OS(WINDOWS) builds (because of missing llint support).
    36 // Make sure it's disabled.
    37 #if USE(JSVALUE32_64) || OS(WINDOWS)
    38 #undef ENABLE_POISON
    39 #define ENABLE_POISON 0
     34#if !ENABLE(POISON)
    4035#undef ENABLE_POISON_ASSERTS
    4136#define ENABLE_POISON_ASSERTS 0
Note: See TracChangeset for help on using the changeset viewer.