1
0
forked from mirrors/0ad

Don't enable JITs when they can interfere with profiling.

Fix dangerous trailing slashes.

This was SVN commit r9103.
This commit is contained in:
Ykkrosh
2011-03-23 00:36:34 +00:00
parent e825a98671
commit 575e3b0a69
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -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);