Changeset 201609 in webkit
- Timestamp:
- Jun 2, 2016, 12:21:53 PM (10 years ago)
- Location:
- trunk/Source
- Files:
-
- 4 edited
-
JavaScriptCore/ChangeLog (modified) (1 diff)
-
JavaScriptCore/runtime/ConcurrentJITLock.h (modified) (1 diff)
-
WTF/ChangeLog (modified) (1 diff)
-
WTF/wtf/Locker.h (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/ChangeLog
r201605 r201609 1 2016-06-02 Filip Pizlo <fpizlo@apple.com> 2 3 Make it harder to accidentally pass an integer to a locker. 4 5 Rubber stamped by Keith Miller. 6 7 * runtime/ConcurrentJITLock.h: 8 (JSC::ConcurrentJITLocker::ConcurrentJITLocker): 9 1 10 2016-06-02 Filip Pizlo <fpizlo@apple.com> 2 11 -
trunk/Source/JavaScriptCore/runtime/ConcurrentJITLock.h
r201605 r201609 132 132 { 133 133 } 134 135 NO_RETURN_DUE_TO_CRASH ConcurrentJITLocker(int) 136 : ConcurrentJITLockerBase(NoLockingNecessary) 137 #if ENABLE(CONCURRENT_JIT) && !defined(NDEBUG) 138 , m_disallowGC(Nullopt) 139 #endif 140 { 141 RELEASE_ASSERT_NOT_REACHED(); 142 } 134 143 135 144 #if ENABLE(CONCURRENT_JIT) && !defined(NDEBUG) -
trunk/Source/WTF/ChangeLog
r201605 r201609 1 2016-06-02 Filip Pizlo <fpizlo@apple.com> 2 3 Make it harder to accidentally pass an integer to a locker. 4 5 Rubber stamped by Keith Miller. 6 7 See here for the discussion: https://bugs.webkit.org/show_bug.cgi?id=158306#c3 8 9 * wtf/Locker.h: 10 (WTF::Locker::Locker): 11 (WTF::Locker::~Locker): 12 1 13 2016-06-02 Filip Pizlo <fpizlo@apple.com> 2 14 -
trunk/Source/WTF/wtf/Locker.h
r201605 r201609 29 29 #define Locker_h 30 30 31 #include <wtf/Assertions.h> 31 32 #include <wtf/Noncopyable.h> 32 33 … … 47 48 // be accessed concurrently. 48 49 Locker(NoLockingNecessaryTag) : m_lockable(nullptr) { } 50 51 NO_RETURN_DUE_TO_CRASH Locker(int) 52 { 53 RELEASE_ASSERT_NOT_REACHED(); 54 } 49 55 50 56 ~Locker()
Note:
See TracChangeset
for help on using the changeset viewer.