Bug 500491 - Only reset saved JSOPTION_JIT after js_Execute, r=brendan.

This commit is contained in:
Graydon Hoare 2009-06-25 16:20:53 -07:00
parent b1edbdb4eb
commit 8ddc326134

View File

@ -1673,7 +1673,8 @@ out:
#ifdef JS_TRACER
/* Possibly re-enable JIT, if disabled above. */
cx->options = oldOptions;
if (oldOptions & JSOPTION_JIT)
cx->options |= JSOPTION_JIT;
#endif
return ok;