WebAssembly: Add compilation level option
Created attachment 306031 [details] Patch
Comment on attachment 306031 [details] Patch r=me
Committed r214708: <http://trac.webkit.org/changeset/214708>
Comment on attachment 306031 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=306031&action=review > Source/JavaScriptCore/wasm/WasmPlan.cpp:248 > + auto parseAndCompileResult = parseAndCompile(m_compilationContexts[functionIndex], functionStart, functionLength, signature, m_unlinkedWasmToWasmCalls[functionIndex], *m_moduleInformation, m_moduleSignatureIndicesToUniquedSignatureIndices, m_mode, Options::webAssemblyB3OptimizationLevel()); The current implementation uses "unsigned optLevel = B3::defaultOptLevel()" in the header file. Shouldn't you get rid of that since it's no longer used?