Fix FTL Native Inlining for EFL
https://bugs.webkit.org/show_bug.cgi?id=137774
Reviewed by Michael Saboff.
.:
Updated CMake for FTL Native Inlining.
- CMakeLists.txt:
- Source/cmake/FindClang.cmake: Added.
- Source/cmake/OptionsEfl.cmake:
- Source/cmakeconfig.h.cmake:
Source/JavaScriptCore:
Added required functionality for Native Inlining to EFL, and fixed a bug/typo in the original code,
which caused incorrect memory allocation.
- CMakeLists.txt:
- create-llvm-ir-from-source-file.py: Added.
- create-symbol-table-index.py: Added.
- ftl/FTLLowerDFGToLLVM.cpp:
(JSC::FTL::LowerDFGToLLVM::lower):
(JSC::FTL::LowerDFGToLLVM::getModuleByPathForSymbol):
(JSC::FTL::LowerDFGToLLVM::exitValueForAvailability):
(JSC::FTL::LowerDFGToLLVM::exitValueForNode):
- runtime/BundlePath.cpp: Added.
(JSC::bundlePath):
- runtime/JSDataViewPrototype.cpp:
(JSC::getData):
(JSC::setData):
Source/WTF:
Updated guard definition for Native Inlining, and added an attribute define for marking functions
that should not be left out of the symbol table.
Tools:
Added Clang as an optional module to jhbuild.