Skip to content
Snippets Groups Projects
Commit 4e3f9ef4 authored by David Mandelin's avatar David Mandelin
Browse files

Fixing build bustage and nits from bug 464138.

parent 428935da
No related branches found
No related tags found
No related merge requests found
......@@ -2832,10 +2832,12 @@ void
js_DestroyRegExp(JSContext *cx, JSRegExp *re)
{
if (JS_ATOMIC_DECREMENT(&re->nrefs) == 0) {
/* Don't reuse this compiled code for some new regexp at same addr */
#ifdef JS_TRACER
/* Don't reuse this compiled code for some new regexp at same addr. */
Fragment* fragment = JS_TRACE_MONITOR(cx).reFragmento->getLoop(re);
if (fragment)
if (fragment)
fragment->blacklist();
#endif
if (re->classList) {
uintN i;
for (i = 0; i < re->classCount; i++) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment