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 committed 2011-03-23 00:36:34 +00:00
1 parent e825a98671
commit 575e3b0a69
2 files changed
+3 -3

No files matched your search

+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);