summaryrefslogtreecommitdiffstats
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
commit2ec2389d7f887d263b76e43af1d40e8b529db40e (patch)
tree41f206fe01772ea8ed4379070e88ef94381599c8 /js/src/jsgc.h
parent31ea8c7e934bd4dd78ef44dc9dfd47bd27bdf0a3 (diff)
downloadUXP-2ec2389d7f887d263b76e43af1d40e8b529db40e.tar
UXP-2ec2389d7f887d263b76e43af1d40e8b529db40e.tar.gz
UXP-2ec2389d7f887d263b76e43af1d40e8b529db40e.tar.lz
UXP-2ec2389d7f887d263b76e43af1d40e8b529db40e.tar.xz
UXP-2ec2389d7f887d263b76e43af1d40e8b529db40e.zip
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.