diff options
Diffstat (limited to 'js/src/jsgc.h')
-rw-r--r-- | js/src/jsgc.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/js/src/jsgc.h b/js/src/jsgc.h index d00d2aef6..952fd6bae 100644 --- a/js/src/jsgc.h +++ b/js/src/jsgc.h @@ -456,8 +456,9 @@ class ArenaList { } void moveCursorToEnd() { - while (!isCursorAtEnd()) + while (!isCursorAtEnd()) { cursorp_ = &(*cursorp_)->next; + } } // This can return nullptr. |