Changeset 252885 in webkit
- Timestamp:
- Nov 26, 2019 4:21:13 AM (4 years ago)
- Location:
- trunk/Source/JavaScriptCore
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/ChangeLog
r252877 r252885 1 2019-11-26 Tuomas Karkkainen <tuomas.webkit@apple.com> 2 3 Attempting to enable more than one FuzzerAgent should result in an error 4 https://bugs.webkit.org/show_bug.cgi?id=204607 5 6 Reviewed by Antti Koivisto. 7 8 * runtime/VM.cpp: 9 * runtime/VM.h: 10 1 11 2019-11-26 Carlos Garcia Campos <cgarcia@igalia.com> 2 12 -
trunk/Source/JavaScriptCore/runtime/VM.cpp
r252875 r252885 462 462 if (Options::useRandomizingFuzzerAgent()) 463 463 setFuzzerAgent(makeUnique<RandomizingFuzzerAgent>(*this)); 464 elseif (Options::useDoublePredictionFuzzerAgent())464 if (Options::useDoublePredictionFuzzerAgent()) 465 465 setFuzzerAgent(makeUnique<DoublePredictionFuzzerAgent>(*this)); 466 466 -
trunk/Source/JavaScriptCore/runtime/VM.h
r252875 r252885 304 304 void setFuzzerAgent(std::unique_ptr<FuzzerAgent>&& fuzzerAgent) 305 305 { 306 RELEASE_ASSERT_WITH_MESSAGE(!m_fuzzerAgent, "Only one FuzzerAgent can be specified at a time."); 306 307 m_fuzzerAgent = WTFMove(fuzzerAgent); 307 308 }
Note: See TracChangeset
for help on using the changeset viewer.