summaryrefslogtreecommitdiff
path: root/js/src/jsgc.h
diff options
context:
space:
mode:
authorwin7-7 <win7-7@users.noreply.github.com>2019-04-30 15:07:04 +0300
committerGitHub <noreply@github.com>2019-04-30 15:07:04 +0300
commit2a6e314d9bbec796340461f15befb26a273270d7 (patch)
tree41f206fe01772ea8ed4379070e88ef94381599c8 /js/src/jsgc.h
parent77a640b6c969df7ace995d8edbd741f9ccd5b8e6 (diff)
downloadaura-central-2a6e314d9bbec796340461f15befb26a273270d7.tar.gz
Braces and one more typo fix for comment
Diffstat (limited to 'js/src/jsgc.h')
-rw-r--r--js/src/jsgc.h3
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.