Changeset 205917 in webkit
- Timestamp:
- Sep 14, 2016, 10:55:15 AM (9 years ago)
- Location:
- trunk/Source/JavaScriptCore
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/ChangeLog
r205916 r205917 1 2016-09-14 Mark Lam <mark.lam@apple.com> 2 3 Use Options::validateExceptionChecks() instead of VM::m_verifyExceptionEvents. 4 https://bugs.webkit.org/show_bug.cgi?id=161975 5 6 Reviewed by Keith Miller. 7 8 This makes it less burdensome (no longer needs a rebuild to enable checks) to do 9 incremental work towards enabling checks all the time. 10 11 * runtime/Options.h: 12 * runtime/VM.cpp: 13 (JSC::VM::verifyExceptionCheckNeedIsSatisfied): 14 * runtime/VM.h: 15 1 16 2016-09-14 Joseph Pecoraro <pecoraro@apple.com> 2 17 -
trunk/Source/JavaScriptCore/runtime/Options.h
r205569 r205917 348 348 v(bool, validateDFGExceptionHandling, false, Normal, "Causes the DFG to emit code validating exception handling for each node that can exit") /* This is true by default on Debug builds */\ 349 349 v(bool, dumpSimulatedThrows, false, Normal, "Dumps the call stack at each simulated throw for exception scope verification") \ 350 v(bool, validateExceptionChecks, false, Normal, "Verifies that needed exception checks are performed.") \ 350 351 \ 351 352 v(bool, useExecutableAllocationFuzz, false, Normal, nullptr) \ -
trunk/Source/JavaScriptCore/runtime/VM.cpp
r205654 r205917 897 897 void VM::verifyExceptionCheckNeedIsSatisfied(unsigned recursionDepth, ExceptionEventLocation& location) 898 898 { 899 if (! m_verifyExceptionEvents)899 if (!Options::validateExceptionChecks()) 900 900 return; 901 901 -
trunk/Source/JavaScriptCore/runtime/VM.h
r205569 r205917 704 704 unsigned m_simulatedThrowPointRecursionDepth { 0 }; 705 705 mutable bool m_needExceptionCheck { false }; 706 707 // Disabled temporarily until all known verification failures are fixed.708 bool m_verifyExceptionEvents { false };709 706 #endif 710 707
Note:
See TracChangeset
for help on using the changeset viewer.