mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-19 16:25:38 +00:00
Bug 1473213 (Part 2) - add a comment about an invariant required by the JIT r=sfink
--HG-- extra : rebase_source : 0e2b341e0a12917f0584143803a39140a060886d extra : source : 4e59349dd9776f329c9545aa994c6f490f11d105
This commit is contained in:
parent
e0abcaa9c4
commit
0647dd2041
@ -249,6 +249,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