From a9ab4f46acab112bb7b73c4974de98a667b808e4 Mon Sep 17 00:00:00 2001 From: Terrence Cole Date: Wed, 13 Mar 2013 10:22:35 -0700 Subject: [PATCH] Bug 850749 - Make Cell::isTenured use the new IsInsideNursery; r=billm --HG-- extra : rebase_source : a73a59b4a6880f9821ee453cfa838b7dd0ca952d --- js/src/jsgc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/src/jsgc.cpp b/js/src/jsgc.cpp index 13328cb29a6a..78994536a37f 100644 --- a/js/src/jsgc.cpp +++ b/js/src/jsgc.cpp @@ -286,7 +286,7 @@ ArenaHeader::checkSynchronizedWithFreeList() const bool js::gc::Cell::isTenured() const { - return true; + return !IsInsideNursery(runtime(), this); } #endif