Commit 223be0b5 authored by Bill McCloskey's avatar Bill McCloskey
Browse files

Bug 752098 - Fix script filename marking with incremental GC (r=luke)

parent 70b3320c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -981,7 +981,7 @@ js::SaveScriptFilename(JSContext *cx, const char *filename)
     * scripts or exceptions pointing to the filename may no longer be
     * reachable.
     */
    if (cx->compartment->needsBarrier() && rt->gcIsFull)
    if (rt->gcIncrementalState == MARK && rt->gcIsFull)
        sfe->marked = true;
#endif