mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-11-08 23:51:54 +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:
1 parent
e825a98671
commit
575e3b0a69
2 files changed
+3
-3
No files matched your search
@@ -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