From e7fc74f6a281c12a4a406f2dd20ff2c27a61484d Mon Sep 17 00:00:00 2001 From: Brian Hackett Date: Sun, 8 Mar 2015 22:10:01 -0400 Subject: [PATCH] Bug 1138199. r=billm, a=lmandel --- js/src/ds/LifoAlloc.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/js/src/ds/LifoAlloc.h b/js/src/ds/LifoAlloc.h index 7617cf5..b112353 100644 --- a/js/src/ds/LifoAlloc.h +++ b/js/src/ds/LifoAlloc.h @@ -193,14 +193,14 @@ class LifoAlloc // Append used chunks to the end of this LifoAlloc. We act as if all the // chunks in |this| are used, even if they're not, so memory may be wasted. - void appendUsed(BumpChunk *start, BumpChunk *latest, BumpChunk *end) { - JS_ASSERT(start && latest && end); + void appendUsed(BumpChunk *otherFirst, BumpChunk *otherLatest, BumpChunk *otherLast) { + JS_ASSERT(otherFirst && otherLatest && otherLast); if (last) - last->setNext(start); + last->setNext(otherFirst); else - first = latest = start; - last = end; - this->latest = latest; + first = otherFirst; + latest = otherLatest; + last = otherLast; } void incrementCurSize(size_t size) { -- 2.2.1