Created attachment 558681 [details] [diff] [review] Fixes this bug. This also adds operator++ and operator-- to DebugOnly to support the two users here.
Comment on attachment 558681 [details] [diff] [review] Fixes this bug. Cool
Created attachment 558836 [details] [diff] [review] Replace some #ifdef DEBUG with DebugOnly in jsgc Add bug number and reviewer to commit info. Ready for checkin.
Landed: http://hg.mozilla.org/integration/mozilla-inbound/rev/c7589174b0f0 (For future reference -- it's better to use "Bug 123" instead of "Bug: 123" in your commit messages, as TBPL detects & autolinkifies the former but not the latter)