mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-06-22 02:23:56 +00:00
Don't enable JITs when they can interfere with profiling.
Fix dangerous trailing slashes. This was SVN commit r9103.
This commit is contained in:
@@ -434,11 +434,11 @@ ScriptInterface_impl::ScriptInterface_impl(const char* nativeScopeName, const sh
|
||||
// hooks are incompatible with the JIT)
|
||||
#if !ENABLE_SCRIPT_PROFILING
|
||||
options |= JSOPTION_METHODJIT;
|
||||
#endif
|
||||
|
||||
// Some other JIT flags to experiment with:
|
||||
options |= JSOPTION_JIT;
|
||||
options |= JSOPTION_PROFILING;
|
||||
#endif
|
||||
|
||||
JS_SetOptions(m_cx, options);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user