mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-17 15:25:52 +00:00
Bug 1473213 (Part 2) - add a comment about an invariant required by the JIT r=sfink
--HG-- extra : rebase_source : b5fc8c7e4099fe57f4d5ed5d21af9d88b8a35316 extra : intermediate-source : e40d822d886b47350c28c1c4cb6c45d335fc5b1b extra : source : 4e59349dd9776f329c9545aa994c6f490f11d105
This commit is contained in:
parent
6e12af80d7
commit
271f7a7664
@ -245,6 +245,8 @@ js::Nursery::disable()
|
||||
freeChunksFrom(0);
|
||||
maxChunkCount_ = 0;
|
||||
|
||||
// We must reset currentEnd_ so that there is no space for anything in the
|
||||
// nursery. JIT'd code uses this even if the nursery is disabled.
|
||||
currentEnd_ = 0;
|
||||
currentStringEnd_ = 0;
|
||||
runtime()->gc.storeBuffer().disable();
|
||||
|
Loading…
Reference in New Issue
Block a user