Add an Option to disable the CodeCache
https://bugs.webkit.org/show_bug.cgi?id=162579

Patch by Joseph Pecoraro <pecoraro@apple.com> on 2016-09-26
Reviewed by Geoffrey Garen.

* runtime/CodeCache.cpp:
(JSC::CodeCache::getGlobalCodeBlock):
(JSC::CodeCache::getFunctionExecutableFromGlobalCode):
Do not use the cache if the Option is disabled.

* runtime/Options.h:
New option to not use the code cache.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@206400 268f45cc-cd09-0410-ab3c-d52691b4dbfc
3 files changed